I could got success with using the latest version of js.jar and bsf.jar.
And i have added comment it on the wiki(
http://wiki.openlaszlo.org/SubversionBuildInstructions )
But i do not know every platform need them in their $LZ_VENDOR_ROOT, so i could
not make judgment
whether i should file it to JIRA.
These are my environments for linux users,
OS : Fedora Core 8 kernel2.6.24.7-92
java : jdk1.5_14
ant : 1.6.5
rhino : 1.7R1
BSF : 2.4
javacc: 2.1
Ono Keiji
ono keiji さんは書きました:
> Before when i used cygwin to compile it, it worked fine.
>
> Fuum, I have been using jdk1.5_14 and ant1.6.5. And switch to use latest
> ant1.7.0,
> then i got the version error messages,
>
> java.lang.UnsupportedClassVersionError: Bad version number in .class file
>
> It looks like mismatched with some classes. Maybe the ant version correct
> with 1.6.5,
> not 1.7.0.
> I have tried running trunk and devildog with those environment.
> java: jdk1.5_14
> ant : 1.6.5 or 1.7.0
>
> Are there any linux user ? :^)
>
> Thank you
>
> ono
>
> Henry Minsky さんは書きました:
>> I have not compiled on a linux system in a long time. I compile on Mac
>> OSX these days.
>>
>> It is hard to tell from the error you are getting, but it looks to me
>> like the bug is happening
>> in the ant process which is performing the build; in other words it is
>> not a problem in the
>> compiling of the LPS server or LFC, but a problem with running ant.
>>
>> Is there a different version of ant you could try running, perhaps an
>> older one?
>>
>>
>> 2008/5/27 ono keiji <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>>
>> Oops sorry, please ignore this grep list.
>> The problem had occurred with no getDebuggableEngine *method* in the
>> DebuggableEngine class.
>> I could see this method would be needed to compile in LFC class.
>> And this method had not been used anymore since 1.5R4.
>> I tried to compile the devildog branches, but i had same error in it.
>> Could everyone compile without any error ?
>>
>> Thank you
>>
>> ono
>>
>>
>> ono keiji さんは書きました:
>> > This is the grep list of js.jar where is in $LZ_VENDOR_ROOT.
>> > It was not contained getDebuggableEngine() method within it.
>> >
>> > jar tvf js.jar | grep org.mozilla.javascript.Context
>> >
>> > 740 Sun Jan 27 19:53:26 JST 2002
>> org/mozilla/javascript/Context$ClassOutputWrapper.class
>> > 1669 Sun Jan 27 19:53:26 JST 2002
>> org/mozilla/javascript/Context$FileClassRepository.class
>> > 24538 Sun Jan 27 19:53:26 JST 2002
>> org/mozilla/javascript/Context.class
>> > 228 Sun Jan 27 19:53:26 JST 2002
>> org/mozilla/javascript/ContextListener.class
>> >
>> >
>> > Henry Minsky さんは書きました:
>> >> Are you sure that there is not some other version of js.jar on your
>> >> system which is shadowing the one that we have in the "vendor"
>> >> repository? ?
>> >> Did you copy the js.jar as
>> >>
>> >> cp $LZ_VENDOR_ROOT/js.jar $ANT_HOME/lib/
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Sat, May 24, 2008 at 2:05 AM, ono keiji <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>
>> >> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>> >>
>> >> I am using JDK1.5.0_14 on Fedora8.
>> >>
>> >>
>> >> Henry Minsky さんは書きました:
>> >>
>> >> Which Java JDK version are you using? Also, what
>> operating system?
>> >>
>> >> Henry
>> >>
>> >>
>> >>
>> >> On Fri, May 23, 2008 at 9:06 PM, Amy Muntz
>> >> <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>>
>> >> <mailto:[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>
>> >> <mailto:[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>>>> wrote:
>> >>
>> >> Henry,
>> >> Can you help out Keiji?
>> >> Thanks,
>> >> Amy
>> >>
>> >>
>> >> -------- Begin forwarded message --------
>> >> Subject: [Laszlo-dev] build failed
>> >> Date: 5/23/2008 12:49:36 AM
>> >> From: ono keiji <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>
>> >> <mailto:[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>> <mailto:[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>
>> >> <mailto:[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>>>>
>> >> To: [email protected]
>> <mailto:[email protected]>
>> >> <mailto:[email protected]
>> <mailto:[email protected]>>
>> >> <mailto:[email protected]
>> <mailto:[email protected]>
>> >> <mailto:[email protected]
>> <mailto:[email protected]>>>
>> >>
>> >>
>> >> Hi,
>> >>
>> >> I have build rev9308 according with wiki
>> >>
>> page(http://wiki.openlaszlo.org/SubversionBuildInstructions).
>> >> But it has failed with the following messages.
>> >>
>> >> BUILD FAILED
>> >> /home/onoke/src/svn/openlaszlo/trunk/build.xml:555:
>> The following
>> >> error occurred while executing this line:
>> >> java.lang.NoSuchMethodError:
>> >>
>> >>
>>
>> org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine;
>> >>
>> >>
>> >> It looks like from js.jar, but the method did not
>> implemented in
>> >> js.jar.
>> >> Which version should i use to build it ?
>> >>
>> >> Thanks in advance.
>> >>
>> >>
>> >> ono keiji
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Henry Minsky
>> >> Software Architect
>> >> [EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>>
>> >> <mailto:[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>
>> >> <mailto:[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>>>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Henry Minsky
>> >> Software Architect
>> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>> <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
>> >>
>> >
>> >
>>
>>
>>
>>
>> --
>> Henry Minsky
>> Software Architect
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>
>
>