This exception can occur when the source is built targeting a JDK
that is not supported by the JDK attempting to run it.
For java 1.4 deployment ...... all code must be compiled with
1.4 ..... including *all* frameworks and all jars. I don't use
Leopard yet or Java 1.4 either myself, but if I were trying to do
this in Leopard, I would aim to have all WO 5.3 frameworks and 3rd
party frameworks (including 3rd party jars wrapped in a framework)
linked to the project and I would embed everything into one
deployable Java 1.4 self contained woa. You certainly have the odds
stacked against you and probably there are few, if any(?), developers
trying to do exactly what you are trying to do (that is develop in
Leopard for Java 1.4 WO Deployment)
Is 1.5 even *on* the target machine? It might be on there, but not
the default .... in which case you can edit the MacOSClassPath.txt of
the build woa to use the java 1.5 executable which might lead you
down an easier road. Maybe others on here have better insight.
Just my 2 cents,
Kieran
On Nov 17, 2007, at 10:44 AM, James Cicenia wrote:
> Closer I think...
>
> BUILD FAILED
> /Users/jcicenia/Developer/eclipse/workspace/TOSDevelopment/
> build.xml:229: java.lang.UnsupportedClassVersionError: org/
> objectstyle/woproject/ant/WOCompile (Unsupported major.minor
> version 49.0)
>
>
> I am using the latest Eclipse 3.3.2 with Leopard.
>
> Thanks
> James
>
> On Nov 17, 2007, at 9:35 AM, Miguel Arroz wrote:
>
>> Hi!
>>
>> That seems to be a typical ant problem, where it decides to scan
>> all the hard drive. Check this thread: <http://
>> wiki.objectstyle.org/confluence/display/WOL/mail/2097997>.
>>
>> Yours
>>
>> Miguel Arroz
>>
>> On 2007/11/17, at 13:58, James Cicenia wrote:
>>
>>> now I get this....
>>>
>>> /Users/jcicenia/Developer/eclipse/workspace/TOSDevelopment/
>>> build.xml:229: IO error scanning directory '/.fseventsd'
>>>
>>> ?????
>>>
>>> isn't fseventsd one of Leopards new features?
>>>
>>>
>>> On Nov 16, 2007, at 10:52 PM, Chuck Hill wrote:
>>>
>>>> mkdir -p ~/Library/Frameworks
>>>>
>>>> Does that help?
>>>>
>>>>
>>>> On Nov 16, 2007, at 8:44 PM, James Cicenia wrote:
>>>>
>>>>> I am trying to build my project with the supplied build.xml
>>>>>
>>>>> I get this:
>>>>>
>>>>> Buildfile: /Users/jcicenia/Developer/eclipse/workspace/
>>>>> TOSDevelopment/build.xml
>>>>> setProps:
>>>>> init.build:
>>>>> compile:
>>>>> [javac] Compiling 1 source file to /Users/jcicenia/Developer/
>>>>> eclipse/workspace/TOSDevelopment/bin
>>>>>
>>>>> BUILD FAILED
>>>>> /Users/jcicenia/Developer/eclipse/workspace/TOSDevelopment/
>>>>> build.xml:229: /Users/jcicenia/Library/Frameworks not found.
>>>>>
>>>>>
>>>>> <target name = "compile" depends = "setProps,init.build" >
>>>>> <mkdir dir = "bin"/>
>>>>> <javac srcdir = "src" destdir = "bin"> <<<<<<< offending
>>>>> line???
>>>>> <classpath>
>>>>> <fileset dir="${wo.dir.user.home.library.frameworks}"
>>>>> includesfile = "woproject/ant.frameworks.user.home">
>>>>> <include name = "**/*.jar"/>
>>>>> </fileset>
>>>>> <fileset dir="${wo.wolocalroot}" includesfile =
>>>>> "woproject/ant.frameworks.wo.wolocalroot">
>>>>> <include name = "**/*.jar"/>
>>>>> </fileset>
>>>>> <fileset dir="${wo.wosystemroot}" includesfile =
>>>>> "woproject/ant.frameworks.wo.wosystemroot">
>>>>> <include name = "**/*.jar"/>
>>>>> </fileset>
>>>>> </classpath>
>>>>> </javac>
>>>>> </target>
>>>>>
>>>>> hints?
>>>>>
>>>>>
>>>>
>>>> --
>>>>
>>>> Practical WebObjects - for developers who want to increase their
>>>> overall knowledge of WebObjects or who are trying to solve
>>>> specific problems.
>>>> http://www.global-village.net/products/practical_webobjects
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>> Miguel Arroz
>> http://www.terminalapp.net
>> http://www.ipragma.com
>>
>>
>>
>
This archive was generated by hypermail 2.0.0 : Sat Nov 17 2007 - 11:33:37 EST