Hei,

i) the info.txt file is not really needed. But I attach the file I use. Another way would be to "comment" the section in the build.xml file that address copying of the info.txt

i.e. the lines:
        <!-- [sstein] eliminate absolute paths from manifest file -->
<replaceregexp file="${build.dir}/info.txt" match=":\\" replace="" flags="gs"/> <replaceregexp file="${build.dir}/info.txt" match=":[^:;]*lib" replace=": lib" flags="gs"/> <replaceregexp file="${build.dir}/info.txt" match=";[^:;]*lib" replace=" lib" flags="gs"/>
        <!-- manifest="${build.dir}/info.txt" -->

ii) you probably are missing the javadoc generator program that should come with the Java Development Kit. However, the built still should be generated/compiled... look in /bin/ folder if there are several folders created. If you take all the stuff in this folder and zip it into one file (openjump.zip) and rename it to openjump.jar it may actually run.

However, can you look into the /build/ folder if there are the two jar files? if so, you can just use those. If you study the build.xml you will also see where the javadoc is created (look for "Creates the API documentation "). This part can be also commented out. And then you just run the build.xml again.

stefan

siddharth raghuvanshi schrieb:
Hi,
I have followed the given document https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_make_your_own_OpenJUMP_built for making my own OpenJUMP built.

But on running the build.xml file with ant, I am getting the following error:


Buildfile: C:\Users\siddharth\workspace\openjump\etc\build.xml

prepare:

compile:

jar:
[replaceregexp] The following file is missing: 'C:\Users\siddharth\workspace\openjump\build\info.txt' [replaceregexp] The following file is missing: 'C:\Users\siddharth\workspace\openjump\build\info.txt' [replaceregexp] The following file is missing: 'C:\Users\siddharth\workspace\openjump\build\info.txt' [jar] Building jar: C:\Users\siddharth\workspace\openjump\build\openjump-workbench-1.3.1.jar [jar] Building jar: C:\Users\siddharth\workspace\openjump\build\openjump-api-1.3.1.jar

javadocs:
     [javadoc] Generating Javadoc
     [javadoc] Javadoc execution

BUILD FAILED
C:\Users\siddharth\workspace\openjump\etc\build.xml:200: Javadoc failed: java.io.IOException: Cannot run program "javadoc.exe": CreateProcess error=2, The system cannot find the file specified

Total time: 8 seconds

If anyone can help me in solving this problem, I will be highly thankful.

Regards
Siddharth


------------------------------------------------------------------------

------------------------------------------------------------------------------



------------------------------------------------------------------------

_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_08-b03 (Sun Microsystems Inc.)
Sealed: false
OpenJUMP-Version: 1.3.1
Build-Date: December 6 2009
Build-Time: 1856
Main-Class: com.vividsolutions.jump.workbench.JUMPWorkbench
Class-Path: lib\jython.jar
------------------------------------------------------------------------------

_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to