Wow it worked!!
Has to go on record as the speediest successful list answer I've had!
Cheers
Des
On 24 Feb 2005, at 23:13, James Seigel wrote:
> Uncommment the area in the ant file referring to libs. (I don't have
> it in front of me right now) This will include the files into the
> CLASSPATH and include them in the application as well. So basically
> just add the jar to the project and then edit the build.xml file.
>
> Ahh found one....add a line like <include name="**/*.jar"/> to the lib
> area like below:
>
>
> <lib dir="lib">
> <include name="**/*.jar"/>
> <exclude name="**/*.woa/**"/>
> </lib>
>
> Cheers
> James.
>
>
> On 24-Feb-05, at 3:57 PM, Des Oates wrote:
>
>> Hello
>>
>> I've got a sticky problem adding a jar file to my woa that I've built
>> using WOLips.
>>
>> In my Eclipse workspace I have 2 projects:
>>
>> ${workspace}/foo My WO Application project.
>> ${workspace}/bar a shared project that 'foo' depends on. The
>> output of this project is found in ' ${workspace}/bar/output/bar.jar'
>>
>> The physical copying of bar.jar into the woa package is not a
>> problem. I've got an ant script that copies it into
>> "../foo.woa/Contents/Resources/bar.jar".
>>
>> My problem is that I need to get 'foo' deployed such that "bar.jar"
>> is on foo's classpath at runtime. How can I do this? I think I
>> need have this entry generated in my Classpath.txt file:
>>
>> "APPROOT/Resources/Java/bar.jar" (If I add this in manually to the
>> classpath file then the app runs swimmingly)
>>
>> I've looked inside my woproject folder. There are several ant config
>> files in there that (I'm guessing) are used to generate the
>> classpath.txt files, but I don't know which one I need to edit.
>> Furthermore I don't know what to edit it with. Do I add the source
>> path (' ${workspace}/bar/output/bar.jar' ) or do I add the
>> destination path ("Resources/Java/bar.jar")
>>
>>
>> Any pointers in the right direction here would be gratefully
>> appreciated.
>>
>> Des
>>
>
This archive was generated by hypermail 2.0.0 : Thu Feb 24 2005 - 18:55:54 EST