![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Super Member
Join Date: Nov 2006
Location: 35.0376,-117.9688
Posts: 1,519
|
Running 'ant' in a clean copy of 0.6.306: 1min 4sec first time and 7sec 2nd time.
Great work on all the build.xml and supporting .xml files, there is a bunch of them! Can a specific file such as \src\nlneilson\Nww.java for the 'main' be passed as an arg on the command line or does it require a change in the build.xml? |
|
|
|
|
|
#2 |
|
Super Member
Join Date: Nov 2006
Location: 35.0376,-117.9688
Posts: 1,519
|
This is how it can be done. Works fine.
Eclipse will create a build.xml file you can run with ant, I named this file NwwBuild.xml so it will not interfere with the WWJ build.xml. Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project ww1o">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<target name="create_run_jar">
<jar destfile="C:/0-Neil/_0/NWWJn.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="nlneilson.Nww"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="C:/NeilsonDev/WW1o/ww1o/bin"/>
<zipfileset excludes="META-INF/*.SF" src="C:/NeilsonDev/WW1o/ww1o/jogl.jar"/>
<zipfileset excludes="META-INF/*.SF" src="C:/NeilsonDev/WW1o/ww1o/gluegen-rt.jar"/>
<zipfileset excludes="META-INF/*.SF" src="C:/NeilsonDev/WW1o/ww1o/build/lib/junit-4.5.jar"/>
</jar>
</target>
</project>
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to setup WWJ | Hervé | Development Help | 66 | 03-03-2010 01:25 AM |
| WWJ Build Server down? | daniele | Bug Reports | 2 | 11-19-2009 06:11 PM |
| WWJ and Platform-dependence | smcnaughton | Development Help | 31 | 11-11-2009 02:09 PM |
| WWJ in satellite tracking app | shawngano | Applications | 47 | 11-02-2009 12:44 AM |
| WW(J) and Python - some questions | GIS_Jon | WorldWind General | 0 | 06-02-2009 02:50 PM |