Fixed by upgrading to Java 1.5 - evidently one of the jars was compiled with Java 1.5, so Java 1.4 was failing:

    [javac] C:\openjump-nightly-build\openjump\src\de\fhOsnabrueck\jump\pirol\pl
ugIns\EditAttributeByFormula\EditAttributeByFormulaDialog.java:26: cannot access
 de.fhOsnabrueck.jump.pirol.ui.eventHandling.OKCancelListener
    [javac] bad class file: C:\openjump-nightly-build\openjump\lib\baseClasses.j
ar(de/fhOsnabrueck/jump/pirol/ui/eventHandling/OKCancelListener.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct subdirectory of
 the classpath.
    [javac] import de.fhOsnabrueck.jump.pirol.ui.eventHandling.OKCancelListener ;


Jon




On 11/8/06, Stefan Steiniger <[EMAIL PROTECTED]> wrote:
Hei Jon and David,

thank you for the hints.
The problem has been what Jon suggested.. the missing entry for the
javadoc in the PATH variable of my machine.

so .. finally I can compile OJ with jdk 1.5.0_08 , which makes actually
the question evolve:
Why it does not work on Jon's nightly built settings???

The only thing i could think off, is that the added baseclasses.jar is
compiled with 1.5 while - as far as i know - the nightly built is done
with 1.4. Could that cause the problem?

Could you check whats going on with the nightly built, Jon?
(as I said .. I am not in a hurry since i will leave tomorrow to washington
.. no no.. i have not been elected today :) - it's only a conference

stefan


Jonathan Aquino schrieb:
> Hi Stefan - My guess would be that Ant is having trouble running
> javadoc.exe. Is javadoc.exe in the path i.e. if you type javadoc.exe at a
> command prompt, does it do anything?
>
> Jon
>
>
>
>> -----Original Message-----
>> From: Stefan Steiniger [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, November 07, 2006 3:09 PM
>> To: List for discussion of JPP development and use.; Jonathan Aquino
>> Subject: at Jon: need help in debugging the nightly built
>>
>>
>> Hei Jon or other java wizards :),
>>
>> i tried to look what went wrong with the nightly built,
>> but i am not able to locate the problem.
>>
>> If i built the stuff on my machine i get this error
>>
>> BUILD FAILED: C:\dev\openjump\openjump\etc\build.xml:168: Javadoc
>> failed: java.io.IOException: CreateProcess: javadoc.exe -d
>> C:\dev\openjump\openjump\build\javadoc -use -classpath
>> C:\dev\openjump\openjump\lib\Buoy.jar;C:\dev\openjump\openjump
>> \lib\Jama-1.0.1.jar;C:\dev\openjump\openjump\lib\baseClasses.j
>> ar;C:\dev\openjump\openjump\lib\batik\batik-awt-util.jar;C:\de
>> v\openjump\openjump\lib\batik\batik-dom.jar;C:\dev\openjump\op
>> enjump\lib\batik\batik-svggen.jar;C:\dev\openjump\openjump\lib
>> \batik\batik-util.jar;C:\dev\openjump\openjump\lib\batik\batik
>> -xml.jar;C:\dev\openjump\openjump\lib\bsh-2.0b4.jar;C:\dev\ope
>> njump\openjump\lib\jdom.jar;C:\dev\openjump\openjump\lib\jmat_
>> 5.0.jar;C:\dev\openjump\openjump\lib\jts-1.7.jar;C:\dev\openju
>> mp\openjump\lib\junit.jar;C:\dev\openjump\openjump\lib\log4j-1
>> .2.8.jar;C:\dev\openjump\openjump\lib\postgis_1_0_0.jar;C:\dev
>> \openjump\openjump\lib\postgresql-8.1dev-403.jdbc2.jar;C:\dev\
>> openjump\openjump\lib\xercesImpl.jar;C:\dev\openjump\openjump\
>> lib\xml-apis.jar
>> -sourcepath C:\dev\openjump\openjump\src -version -author
>> com.vividsolutions.jump com.vividsolutions.jump.algorithm "
>>
>>
>> which refers to the javadoc creation line:
>>      <javadoc destdir="${javadoc.dir}" use="true">
>>
>> but i do not understand what is wrong there.
>> I am even not sure if this is the error which appears for the nightly
>> built (on your machine) but at least the built process seems
>> to work fine.
>>
>> Some explanation what i have recently submitted to the cvs:
>> I added a Pirol Plugin "EditAttributeByFormulaPlugIn" which
>> needs Pirol
>> baseclass.jar. So i added the library as well to the lib
>> folder. I am not sure if there is a problem with the jar and
>> the javadoc. What
>> might be a reason is, that the pirol baseclass package is written in
>> java 1.5
>>
>> Can you help?
>> (btw. it is not urgent for me - since i will be off from
>> thursday on for
>> one week)
>>
>> If you will have a look, can you drop a line?
>>
>> regards
>> stefan
>>
>
>
>



--
Jon Aquino   (Victoria BC Canada)
http://jonathanaquino.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to