You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@logging.apache.org by ps...@apache.org on 2007/06/04 02:01:03 UTC
svn commit: r544013 - in /logging/chainsaw/trunk: .classpath .project
pom.xml src/jnlp/resources/logo.icns src/main/resources/Info.plist
src/main/resources/logo.icns
Author: psmith
Date: Sun Jun 3 17:01:02 2007
New Revision: 544013
URL: http://svn.apache.org/viewvc?view=rev&rev=544013
Log:
Added OSX build:
mvn package appbundler:bundle
Will generate an OSX distribution in the target directory, and automatically build a .dmg file.
Obviously, this can only be built on an OSX system, so this goal is not enabled as part of the standard
lifecycle.
Added:
logging/chainsaw/trunk/src/main/resources/Info.plist
logging/chainsaw/trunk/src/main/resources/logo.icns
- copied unchanged from r544007, logging/chainsaw/trunk/src/jnlp/resources/logo.icns
Removed:
logging/chainsaw/trunk/src/jnlp/resources/logo.icns
Modified:
logging/chainsaw/trunk/.classpath
logging/chainsaw/trunk/.project
logging/chainsaw/trunk/pom.xml
Modified: logging/chainsaw/trunk/.classpath
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/.classpath?view=diff&rev=544013&r1=544012&r2=544013
==============================================================================
--- logging/chainsaw/trunk/.classpath (original)
+++ logging/chainsaw/trunk/.classpath Sun Jun 3 17:01:02 2007
@@ -1,14 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src/java"/>
- <classpathentry kind="src" path="zeroconf"/>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/test/java"/>
+ <classpathentry excluding="**" kind="src" output="src/main/resources" path="src/main/resources"/>
+ <classpathentry excluding="**" kind="src" output="src/test/resources" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="src" path="tests"/>
- <classpathentry combineaccessrules="false" kind="src" path="/log4j"/>
- <classpathentry kind="lib" path="C:/downloads/ant/junit.jar"/>
- <classpathentry kind="lib" path="C:/downloads/jmdns/jmdns-1.0/lib/jmdns.jar"/>
- <classpathentry kind="lib" path="C:/downloads/xstream/xstream-1.1.2/xstream-1.1.2.jar"/>
- <classpathentry kind="lib" path="C:/downloads/jakarta/commons/commons-vfs/commons_vfs_1.0_RC7.jar"/>
- <classpathentry kind="lib" path="C:/downloads/vfs/jsch-0.1.21/dist/lib/jsch-20050802.jar"/>
- <classpathentry kind="output" path="build"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: logging/chainsaw/trunk/.project
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/.project?view=diff&rev=544013&r1=544012&r2=544013
==============================================================================
--- logging/chainsaw/trunk/.project (original)
+++ logging/chainsaw/trunk/.project Sun Jun 3 17:01:02 2007
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>logging-chainsaw</name>
+ <name>log4j-chainsaw-maven</name>
<comment></comment>
<projects>
</projects>
@@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
Modified: logging/chainsaw/trunk/pom.xml
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/pom.xml?view=diff&rev=544013&r1=544012&r2=544013
==============================================================================
--- logging/chainsaw/trunk/pom.xml (original)
+++ logging/chainsaw/trunk/pom.xml Sun Jun 3 17:01:02 2007
@@ -4,8 +4,78 @@
<groupId>log4j</groupId>
<artifactId>log4j-chainsaw</artifactId>
<version>1.99.0</version>
+ <name>log4j-chainsaw</name>
<description>Graphical Viewer for Logging events from a local or remote log4j event system</description>
+ <properties>
+ <chainsaw.mainclass>org.apache.log4j.chainsaw.LogUI</chainsaw.mainclass>
+ </properties>
+ <repositories>
+ <repository>
+ <id>Codehaus Snapshots</id>
+ <url>http://snapshots.repository.codehaus.org/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>Codehaus Snapshots</id>
+ <url>http://snapshots.repository.codehaus.org/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
<build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>appassembler-maven-plugin</artifactId>
+ <configuration>
+ <programs>
+ <program>
+ <mainClass>${chainsaw.mainclass}</mainClass>
+ <name>chainsaw</name>
+ </program>
+ </programs>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>assemble</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>appbundler-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <mainClass>${chainsaw.mainclass}</mainClass>
+ <dictionaryFile>src/main/resources/Info.plist</dictionaryFile>
+ <iconFile>${basedir}/src/main/resources/logo.icns</iconFile>
+ <bundleName>Chainsaw</bundleName>
+ </configuration>
+<!-- By default, we don't want the OSX distribution run; not everyone has a Mac to build it on. (Poor them..) <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>bundle</goal>
+ </goals>
+ </execution>
+ </executions>
+-->
+ </plugin>
+ </plugins>
</build>
<dependencies>
<dependency>
@@ -65,5 +135,4 @@
<scope>test</scope>
</dependency>
</dependencies>
-</project>
-
+</project>
\ No newline at end of file
Added: logging/chainsaw/trunk/src/main/resources/Info.plist
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/resources/Info.plist?view=auto&rev=544013
==============================================================================
--- logging/chainsaw/trunk/src/main/resources/Info.plist (added)
+++ logging/chainsaw/trunk/src/main/resources/Info.plist Sun Jun 3 17:01:02 2007
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+ <dict>
+ <key>CFBundleName</key>
+ <string>${bundleName}</string>
+ <key>CFBundleVersion</key>
+ <string>10.2</string>
+ <key>CFBundleAllowMixedLocalizations</key>
+ <string>true</string>
+ <key>CFBundleExecutable</key>
+ <string>JavaApplicationStub</string>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleIconFile</key>
+ <string>${iconFile}</string>
+ <key>Java</key>
+ <dict>
+ <key>MainClass</key>
+ <string>${mainClass}</string>
+ <key>JVMVersion</key>
+ <string>1.5+</string>
+ <key>ClassPath</key>
+ ${classpath}
+ <key>VMOptions</key>
+ <string>-Xmx512m -Xms128m</string>
+ <key>Properties</key>
+ <dict>
+ <key>apple.laf.useScreenMenuBar</key>
+ <string>true</string>
+ <key>apple.awt.showGrowBox</key>
+ <string>true</string>
+ </dict>
+ </dict>
+ </dict>
+</plist>
\ No newline at end of file