On 15.05.2013 09:47, Tintu mary George wrote: > > > Hi, > I tried the steps provided in > http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_make_your_own_OpenJUMP_built > > but its getting error like this.. > > > Buildfile: E:\workspace\openjump\etc\build.xml > prepare: > compile: > [javac] E:\workspace\openjump\etc\build.xml:120: warning: > 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set > to false for repeatable builds > [javac] Compiling 1261 source files to E:\workspace\openjump\build\classes > [javac] warning: [options] bootstrap class path not set in conjunction > with -source 1.5 > [javac] > E:\workspace\openjump\src\org\openjump\test\DialogParametersTest.java:21: > error: package org.junit does not exist > [javac] import org.junit.Test; > [javac] ^ > [javac] > E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:21: > error: package org.junit does not exist > [javac] import static org.junit.Assert.assertTrue; > [javac] ^ > [javac] > E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:21: > error: static import only from classes and interfaces > [javac] import static org.junit.Assert.assertTrue; > [javac] ^ SNIP > [javac] symbol: method assertEquals(String,Object) > [javac] location: class TestToolsTest > [javac] > E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:199: error: > cannot find symbol > [javac] assertEquals(42, blackboard.get("parameter2")); > [javac] ^ > [javac] symbol: method assertEquals(int,Object) > [javac] location: class TestToolsTest > [javac] > E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:216: error: > cannot find symbol > [javac] assertEquals("foo", blackboard.get("parameter1")); > [javac] ^ > [javac] symbol: method assertEquals(String,Object) > [javac] location: class TestToolsTest > [javac] > E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:217: error: > cannot find symbol > [javac] assertEquals(42, blackboard.get("parameter2")); > [javac] ^ > [javac] symbol: method assertEquals(int,Object) > [javac] location: class TestToolsTest > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 63 errors > [javac] 1 warning > > BUILD FAILED > E:\workspace\openjump\etc\build.xml:120: Compile failed; see the compiler > error output for details. > > Total time: 8 seconds > > > I create one folder.inside that i made subfolder like > > \build > \dist > \docs > \etc > > \scripts > \src > \src\com > \src\org > \src\de > \src\language, > > and copy the contents from source folder of openjump.and run the build.xml > through ant. but i got above errors. > > I am using Eclipse. please help to built own jump built. >
do you want to create a distribution package /or/ just compile OJ? for the package i suggest you use plain maven (no eclipse no nothing) and the parameters described on http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Creating_an_OJ_release_version you can of course stay with the ant build file, which is no longer maintained. look that you have the lib/junit.jar in your classpath. did you add all jars in lib/ to your classpath anyway? i asked you about translation in another mail. did you get it? ..ede ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel