<div dir="ltr">Hi Gerold,<div><br></div><div>The launcher is the most complex component of ImageJ to build, because it has native code and must be built on several platforms. We use the NAR Maven plugin to do it.</div><div><br></div><div>From your build log, it seems the build actually worked from NetBeans -- which is believable, since NetBeans's Maven support basically just delegates completely to Maven to do the build.</div><div><br></div><div>> I would appreciate any help to resolve this issue.</div><div><br></div><div>So I am not sure what "issue" you are having. You want to know where the final executable ended up?</div><div><br>One option is to use the "build" shell script that comes with the launcher. It is in the base directory of the imagej-launcher directory structure. It builds the launcher, then copies it into the base directory as both "ImageJ" and "debug".</div><div><br></div><div>Regards,</div><div>Curtis</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 5:24 PM, <a href="mailto:geroldr@bluewin.ch">geroldr@bluewin.ch</a> <span dir="ltr"><<a href="mailto:geroldr@bluewin.ch" target="_blank">geroldr@bluewin.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello Curtis,<br><br>I am a beginner with ImageJ and Netbeans, but am giving it a go...<br><br>I just tried to download and build using Netbeans 8.02 with no changes except to the file:<br>/imagej-launcher/src/main/c/ImageJ.c<br><br>where I commented out the garbage collector options.<br><br>The build gives me the following results:<br><br>cd /home/foxel/NetBeansProjects/imagej-launcher; JAVA_HOME=/usr/lib/jvm/zulu-8-amd64 /home/foxel/netbeans-8.0.2/java/maven/bin/mvn install<br>Scanning for projects...<br> <br>------------------------------------------------------------------------<br>Building ImageJ Launcher 3.3.1-SNAPSHOT<br>------------------------------------------------------------------------<br><br>--- nar-maven-plugin:3.2.0:nar-validate (default-nar-validate) @ imagej-launcher ---<br>Using AOL: amd64-Linux-gcc<br><br>--- maven-enforcer-plugin:1.3.1:enforce (enforce-rules) @ imagej-launcher ---<br>Adding ignorable dependency: null:jcodings:null<br> Adding ignore: org/jcodings/*<br>Adding ignorable dependency: null:jnr-constants:null<br> Adding ignore: com/kenai/constantine/*<br> Adding ignore: jnr/constants/*<br>Adding ignorable dependency: null:jnr-ffi:null<br> Adding ignore: jnr/ffi/*<br>Adding ignorable dependency: null:VIB-lib:null<br> Adding ignore: javax/media/j3d/<br>Adding ignorable dependency: null:j3d-core:null<br> Adding ignore: javax/media/j3d/<br>Adding ignorable dependency: null:joda-time:null<br> Adding ignore: *<br>Adding ignorable dependency: null:slf4j-log4j12:null<br> Adding ignore: org/slf4j/impl/*<br>Adding ignorable dependency: batik:batik:null<br> Adding ignore: *<br>Adding ignorable dependency: jama:jama:null<br> Adding ignore: Jama/*<br>Adding ignorable dependency: com.sun:tools:null<br> Adding ignore: *<br><br>--- buildnumber-maven-plugin:1.3:create (default) @ imagej-launcher ---<br>Executing: /bin/sh -c cd /home/foxel/NetBeansProjects/imagej-launcher && git rev-parse --verify HEAD<br>Working directory: /home/foxel/NetBeansProjects/imagej-launcher<br>Storing buildNumber: 3e061521a554e4786eebcb6397ee77bb69396703 at timestamp: 1425595836078<br>Storing buildScmBranch: master<br><br>--- nar-maven-plugin:3.2.0:nar-download (default-nar-download) @ imagej-launcher ---<br>Preparing Nar dependencies<br>Unpacking 0 dependencies to /home/foxel/NetBeansProjects/imagej-launcher/target/nar<br><br>--- nar-maven-plugin:3.2.0:nar-unpack (default-nar-unpack) @ imagej-launcher ---<br>Unpacking 0 dependencies to /home/foxel/NetBeansProjects/imagej-launcher/target/nar<br><br>--- nar-maven-plugin:3.2.0:nar-gnu-configure (default-nar-gnu-configure) @ imagej-launcher ---<br><br>--- nar-maven-plugin:3.2.0:nar-system-generate (default-nar-system-generate) @ imagej-launcher ---<br><br>--- maven-resources-plugin:2.6:resources (default-resources) @ imagej-launcher ---<br>Using 'UTF-8' encoding to copy filtered resources.<br>skip non existing resourceDirectory /home/foxel/NetBeansProjects/imagej-launcher/src/main/resources<br><br>--- nar-maven-plugin:3.2.0:nar-resources (default-nar-resources) @ imagej-launcher ---<br>Copied 0 resources<br><br>--- nar-maven-plugin:3.2.0:nar-gnu-resources (default-nar-gnu-resources) @ imagej-launcher ---<br><br>--- nar-maven-plugin:3.2.0:nar-vcproj (default-nar-vcproj) @ imagej-launcher ---<br><br>--- maven-compiler-plugin:3.1:compile (default-compile) @ imagej-launcher ---<br>Nothing to compile - all classes are up to date<br><br>--- nar-maven-plugin:3.2.0:nar-javah (default-nar-javah) @ imagej-launcher ---<br><br>--- nar-maven-plugin:3.2.0:nar-gnu-make (default-nar-gnu-make) @ imagej-launcher ---<br><br>--- nar-maven-plugin:3.2.0:nar-compile (default-nar-compile) @ imagej-launcher ---<br>Preparing Nar dependencies<br>Unpacking 0 dependencies to /home/foxel/NetBeansProjects/imagej-launcher/target/nar<br>Compiling 10 native files<br>Starting dependency analysis for 10 files.<br>Starting dependency analysis for 10 files.<br>10 files are up to date.<br>10 files are up to date.<br>0 files to be recompiled from dependency analysis.<br>0 files to be recompiled from dependency analysis.<br>0 total files to be compiled.<br>0 total files to be compiled.<br><br>--- nar-maven-plugin:3.2.0:nar-gnu-process (default-nar-gnu-process) @ imagej-launcher ---<br><br>--- nar-maven-plugin:3.2.0:nar-process-libraries (default-nar-process-libraries) @ imagej-launcher ---<br>[info] Running process libraries<br>[info] Processing library Library: type: executable<br><br>--- nar-maven-plugin:3.2.0:nar-prepare-package (default-nar-prepare-package-1) @ imagej-launcher ---<br><br>--- maven-resources-plugin:2.6:testResources (default-testResources) @ imagej-launcher ---<br>Using 'UTF-8' encoding to copy filtered resources.<br>skip non existing resourceDirectory /home/foxel/NetBeansProjects/imagej-launcher/src/test/resources<br><br>--- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ imagej-launcher ---<br>Nothing to compile - all classes are up to date<br><br>--- nar-maven-plugin:3.2.0:nar-testCompile (default-nar-testCompile) @ imagej-launcher ---<br>Preparing Nar dependencies<br>Unpacking 0 dependencies to /home/foxel/NetBeansProjects/imagej-launcher/target/test-nar<br>Unpacking 0 dependencies to /home/foxel/NetBeansProjects/imagej-launcher/target/test-nar<br><br>--- maven-surefire-plugin:2.17:test (default-test) @ imagej-launcher ---<br>Tests are skipped.<br><br>--- nar-maven-plugin:3.2.0:nar-test (default-nar-test) @ imagej-launcher ---<br>Preparing Nar dependencies<br>Unpacking 0 dependencies to /home/foxel/NetBeansProjects/imagej-launcher/target/test-nar<br><br>--- exec-maven-plugin:1.3.1:java (default) @ imagej-launcher ---<br>Warning: killAfter is now deprecated. Do you need it ? Please comment on MEXEC-6.<br>Cannot find '/home/foxel/NetBeansProjects/imagej-launcher/target/nar/imagej-launcher-3.3.1-SNAPSHOT-amd64-Linux-gcc-executable/bin/amd64-Linux-gcc/imagej-launcher.exe'; not changing icon<br><br>--- nar-maven-plugin:3.2.0:nar-prepare-package (default-nar-prepare-package) @ imagej-launcher ---<br><br>--- nar-maven-plugin:3.2.0:nar-package (default-nar-package) @ imagej-launcher ---<br>Building zip: /home/foxel/NetBeansProjects/imagej-launcher/target/imagej-launcher-3.3.1-SNAPSHOT-noarch.nar<br>Building zip: /home/foxel/NetBeansProjects/imagej-launcher/target/imagej-launcher-3.3.1-SNAPSHOT-amd64-Linux-gcc-executable.nar<br><br>--- maven-jar-plugin:2.5:jar (default-jar) @ imagej-launcher ---<br>Building jar: /home/foxel/NetBeansProjects/imagej-launcher/target/imagej-launcher-3.3.1-SNAPSHOT.jar<br><br>--- maven-source-plugin:2.3:jar-no-fork (default) @ imagej-launcher ---<br><br>--- maven-jar-plugin:2.5:test-jar (default) @ imagej-launcher ---<br>Building jar: /home/foxel/NetBeansProjects/imagej-launcher/target/imagej-launcher-3.3.1-SNAPSHOT-tests.jar<br><br>--- nar-maven-plugin:3.2.0:nar-integration-test (default-nar-integration-test) @ imagej-launcher ---<br>Preparing Nar dependencies<br>Unpacking 0 dependencies to /home/foxel/NetBeansProjects/imagej-launcher/target/test-nar<br>Surefire report directory: /home/foxel/NetBeansProjects/imagej-launcher/target/surefire-reports<br><br>--- maven-install-plugin:2.5.1:install (default-install) @ imagej-launcher ---<br>Installing /home/foxel/NetBeansProjects/imagej-launcher/target/imagej-launcher-3.3.1-SNAPSHOT.jar to /home/foxel/.m2/repository/net/imagej/imagej-launcher/3.3.1-SNAPSHOT/imagej-launcher-3.3.1-SNAPSHOT.nar<br>Installing /home/foxel/NetBeansProjects/imagej-launcher/pom.xml to /home/foxel/.m2/repository/net/imagej/imagej-launcher/3.3.1-SNAPSHOT/imagej-launcher-3.3.1-SNAPSHOT.pom<br>Installing /home/foxel/NetBeansProjects/imagej-launcher/target/imagej-launcher-3.3.1-SNAPSHOT-noarch.nar to /home/foxel/.m2/repository/net/imagej/imagej-launcher/3.3.1-SNAPSHOT/imagej-launcher-3.3.1-SNAPSHOT-noarch.nar<br>Installing /home/foxel/NetBeansProjects/imagej-launcher/target/imagej-launcher-3.3.1-SNAPSHOT-amd64-Linux-gcc-executable.nar to /home/foxel/.m2/repository/net/imagej/imagej-launcher/3.3.1-SNAPSHOT/imagej-launcher-3.3.1-SNAPSHOT-amd64-Linux-gcc-executable.nar<br>Installing /home/foxel/NetBeansProjects/imagej-launcher/target/imagej-launcher-3.3.1-SNAPSHOT-sources.jar to /home/foxel/.m2/repository/net/imagej/imagej-launcher/3.3.1-SNAPSHOT/imagej-launcher-3.3.1-SNAPSHOT-sources.jar<br>Installing /home/foxel/NetBeansProjects/imagej-launcher/target/imagej-launcher-3.3.1-SNAPSHOT-tests.jar to /home/foxel/.m2/repository/net/imagej/imagej-launcher/3.3.1-SNAPSHOT/imagej-launcher-3.3.1-SNAPSHOT-tests.jar<br><br>--- imagej-maven-plugin:0.5.4:copy-jars (copy-jars) @ imagej-launcher ---<br>------------------------------------------------------------------------<br>BUILD SUCCESS<br>------------------------------------------------------------------------<br>Total time: 4.494s<br>Finished at: Thu Mar 05 23:50:38 CET 2015<br>Final Memory: 23M/538M<br><br><br>I would appreciate any help to resolve this issue.<br><br>Thanks again for your contributions to an impressive project.<br><br>Best wishes,<br><br>Gerold<br><br><u></u>--<br>Gerold Rupprecht
<br>10, rue Louis-Curval
<br>CH-1206 Genève, Suisse
<br>
<br>Mobile: <a href="tel:%2B41%2079%20914%2029%2052" value="+41799142952" target="_blank">+41 79 914 29 52</a><u></u></blockquote></div><br></div></div>