Hi to all, I'm trying to set macosx-universal-32 on a project with appassembler-maven-plugin .
... <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artifactId> <version>1.1.1</version> <configuration> <repositoryLayout>flat</repositoryLayout> <!-- Set the target configuration directory to be used in the bin scripts --> <configurationDirectory>conf</configurationDirectory> <!-- Copy the contents from "/src/main/config" to the target configuration directory in the assembled application --> <copyConfigurationDirectory>true</copyConfigurationDirectory> <!-- Include the target configuration directory in the beginning of the classpath declaration in the bin scripts --> <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath> <!-- prefix all bin files with "mycompany" --> <binPrefix>eXoPlatform</binPrefix> <!-- set alternative assemble directory --> <assembleDirectory>${project.build.directory}/exoplatform-assemble</assembleDirectory> <!-- Extra JVM arguments that will be included in the bin scripts --> <defaultJvmSettings> <initialMemorySize>32M</initialMemorySize> <maxMemorySize>64M</maxMemorySize> <systemProperties> <systemProperty>com.sun.management.jmxremote</systemProperty> <systemProperty>com.sun.management.jmxremote.port=8999</systemProperty> <systemProperty>com.sun.management.jmxremote.authenticate=false</systemProperty> <systemProperty>com.sun.management.jmxremote.ssl=false</systemProperty> </systemProperties> <extraArguments> <extraArgument>-server</extraArgument> </extraArguments> </defaultJvmSettings> <daemons> <daemon> <id>SampleDaemonUnix</id> <mainClass>org.exoplatform.qa.fr.SampleDaemonUnix</mainClass> <commandLineArguments> <commandLineArgument>start</commandLineArgument> </commandLineArguments> <platforms> <platform>jsw</platform> </platforms> <generatorConfigurations> <generatorConfiguration> <generator>jsw</generator> <includes> <include>linux-x86-32</include> <include>linux-x86-64</include> <include>windows-x86-32</include> <include>macosx-universal-32</include> </includes> <configuration> <property> <name>configuration.directory.in.classpath.first</name> <value>etc</value> </property> <property> <name>set.default.REPO_DIR</name> <value>lib</value> </property> <property> <name>wrapper.logfile</name> <value>logs/wrapper.log</value> </property> <property> <name>run.as.user.envvar</name> <value>johndoe</value> </property> </configuration> </generatorConfiguration> </generatorConfigurations> </daemon> </daemons> </configuration> <executions> <execution> <id>generate-jsw-scripts</id> <phase>package</phase> <goals> <goal>generate-daemons</goal> </goals> </execution> </executions> </plugin> </plugins> </build> ... But I got the following WARNING : [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /Users/henri/Documents/eXo/workspace/appassembler-sample/target/appassembler-sample-0.0.1-SNAPSHOT.jar [INFO] [appassembler:generate-daemons {execution: generate-jsw-scripts}] [WARNING] Lib file for macosx-universal-32 not found in map. [WARNING] Exec file for macosx-universal-32 not found in map. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Tue Feb 01 19:09:22 CET 2011 [INFO] Final Memory: 24M/265M [INFO] ------------------------------------------------------------------------ When I dig into generated stuff I could see : bin total 864 -rw-r--r-- 1 henri staff 15394 1 fév 19:09 SampleDaemonUnix -rw-r--r-- 1 henri staff 2055 1 fév 19:09 SampleDaemonUnix.bat -rw-r--r-- 1 henri staff 99401 1 fév 19:09 wrapper-linux-x86-32 -rw-r--r-- 1 henri staff 111027 1 fév 19:09 wrapper-linux-x86-64 -rw-r--r-- 1 henri staff 204800 1 fév 19:09 wrapper-windows-x86-32.exe lib total 384 -rw-r--r-- 1 henri staff 11887 1 fév 19:09 libwrapper-linux-x86-32.so -rw-r--r-- 1 henri staff 15248 1 fév 19:09 libwrapper-linux-x86-64.so -rw-r--r-- 1 henri staff 81920 1 fév 19:09 wrapper-windows-x86-32.dll -rw-r--r-- 1 henri staff 83820 1 fév 19:09 wrapper.jar macosx-universal-32 stuff in bin/lib Strange since org/codehaus/mojo/appassembler-maven-plugin/1.1.1/appassembler-maven-plugin-1.1.1.jar contains wrapper and jnilib : testing: org/codehaus/mojo/appassembler/daemon/jsw/bin/wrapper-linux-ppc-64 OK testing: org/codehaus/mojo/appassembler/daemon/jsw/bin/wrapper-linux-x86-32 OK testing: org/codehaus/mojo/appassembler/daemon/jsw/bin/wrapper-linux-x86-64 OK testing: org/codehaus/mojo/appassembler/daemon/jsw/bin/wrapper-macosx-ppc-32 OK testing: org/codehaus/mojo/appassembler/daemon/jsw/bin/wrapper-macosx-universal-32 OK testing: org/codehaus/mojo/appassembler/daemon/jsw/bin/wrapper-solaris-sparc-32 OK testing: org/codehaus/mojo/appassembler/daemon/jsw/bin/wrapper-solaris-sparc-64 OK testing: org/codehaus/mojo/appassembler/daemon/jsw/bin/wrapper-solaris-x86-32 OK testing: org/codehaus/mojo/appassembler/daemon/jsw/bin/wrapper-windows-x86-32.exe OK testing: org/codehaus/mojo/appassembler/daemon/jsw/lib/libwrapper-linux-ppc-64.so OK testing: org/codehaus/mojo/appassembler/daemon/jsw/lib/libwrapper-linux-x86-32.so OK testing: org/codehaus/mojo/appassembler/daemon/jsw/lib/libwrapper-linux-x86-64.so OK testing: org/codehaus/mojo/appassembler/daemon/jsw/lib/libwrapper-macosx-ppc-32.jnilib OK testing: org/codehaus/mojo/appassembler/daemon/jsw/lib/libwrapper-macosx-universal-32.jnilib OK testing: org/codehaus/mojo/appassembler/daemon/jsw/lib/libwrapper-solaris-sparc-32.so OK testing: org/codehaus/mojo/appassembler/daemon/jsw/lib/libwrapper-solaris-sparc-64.so OK testing: org/codehaus/mojo/appassembler/daemon/jsw/lib/libwrapper-solaris-x86-32.so OK testing: org/codehaus/mojo/appassembler/daemon/jsw/lib/wrapper-windows-x86-32.dll OK --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email