Hi Andrus,
May be we should merge the capabilities? I like the way JApplication
handle the Info.plist a lot more than the way WOApplication does. Why
not build WOApplication on top of JApplication? Is there a reason?
Thanks.
Pierre
On 29-Sep-06, at 6:39 PM, Andrus Adamchik wrote:
> Hi Emmanuel,
>
> JApplication task is not specifically targeting WebObjects (it
> works with any Java project), so it has no notion of WebObjects
> environment. Nested "lib" tags work just like regular FileSets of
> say "copy" or "war" tasks. So "Roots" has no meaning as far as
> JApplication is concerned. You'll have to match the actual jar
> locations.
>
> Andrus
>
>
>
> On Sep 29, 2006, at 5:45 PM, Emmanuel GEZE wrote:
>
>> Hi List,
>>
>> I want to test the new JApplication task to create an app bundle
>> with a
>> test.woa application.
>> For that, I've modified the buid.xml to add the next task:
>>
>> <target name="japp" depends = "setProps,init.build">
>> <taskdef name="japplication"
>> classname="org.objectstyle.woproject.ant.JApplication"/>
>> <japplication name="${project.name}"
>> destDir="${dest.dir}/${project.name}.woa/Contents/Windows/"
>> mainClass="org.cocktail.depense.client.html.Main" os="windows">
>> <lib dir="${dest.dir}/${project.name}.woa">
>> <include name="**/*.jar"/>
>> </lib>
>> <fileset dir="${user.home}" includesfile =
>> "woproject/ant.frameworks.user.home">
>> <include name = "**/*.jar"/>
>> </fileset>
>> <lib dir="${wo.wolocalroot}" includesfile =
>> "woproject/ant.frameworks.wo.wolocalroot">
>> <include name = "*.jar"/>
>> <include name = "*.zip"/>
>> </lib>
>> <lib dir="${wo.wosystemroot}" includesfile =
>> "woproject/ant.frameworks.wo.wosystemroot">
>> <include name="**/*.jar"/>
>> </lib>
>> </japplication>
>> </target>
>>
>> But i don't get what i want !
>>
>> My "woproject/ant.frameworks.user.home" contains this:
>>
>> Roots\Ajax.framework
>> Roots\ERExtensions.framework
>> Roots\ERJars.framework
>> Roots\ERPrototypes.framework
>> Roots\JavaWOExtensions.framework
>>
>> With this fileset definition i hope obtained only jar files of the
>> last
>> framework's list but it's not the case because i obtain all the
>> jars of
>> my user.home directory.
>> Then where i failed?
>>
>> Thank's in advance for replies and any help.
>>
>> Emmanuel
>>
>> I
>>
>>
>
>
This archive was generated by hypermail 2.0.0 : Sat Sep 30 2006 - 10:21:00 EDT