Hi Dov,
On Wednesday, 27. August 2003, at 23:22PM, dov rosenberg wrote:
> I am converting over from Project Builder 5.2. My application is
> deployed
> using Single Server Deployment in PB. I saw there is a build target in
> the
> build files called ssdd that looks like it generates the proper
> structure
> (almost).
>
> When I do a ssdd from Project Builder it creates the following
> structure:
>
> WEB-INF
> app.woa
> classes
> lib
> Library
> Frameworks
> myframeworks.framework
> woframeworks.framework
> tlds
> mytld.tld
> web.xml
>
> Here are the things I need to do:
>
> 1. Generate a web.xml with some custom context parameters - I added
> webXML="true" to the woapplication ant task. It created the web.xml,
> but I
> can't figure how to add the other components in - like my custom tag
> library, and other context parameters, servlet mappings, etc
Due to a bug in 1.0.6 the generated web.xml is corrupt. Until 1.0.7 you
may take the one generated by PB. The documentation for the
woapplication task:
http://objectstyle.org/woproject/ant/woapplication.html
> 2. Add the lib, Library directories that contain all of my frameworks
> and
> the WO system frameworks. The lib directory need to have my external
> jar
> files in it as well
To add jars use the lib tag.
<lib dir=".">
<include name="Add .jar's that should be copied in the woa."/>
<exclude name="**/*.woa/**"/>
</lib>
For instance to add the foo.jar from the folder mylibs in the project.
<lib dir="mylibs">
<include name="foo.jar"/>
<exclude name="**/*.woa/**"/>
</lib>
> 3. I need to get my custom TLD to be deployed along with the WO tld (I
> really don't need the WO one)
Use the copy task to replace the TLD with your TLD.
>
> I am also getting an error about
>
> Class org.apache.tools.ant.taskdefs.condition.And doesn't support the
> nested
> "isset" element.
I need more details :-) Line number, build.xml.........
Ulrich
>
> Any help is appreciated. Thanks in advance. I am definitely switching
> to
> Eclipse!! Great job on the WOLips!!
>
> Dov Rosenberg
> Conviveon Corporation
> 370 Centerpointe Circle, suite 1178
> Altamonte Springs, FL 32701
> 407.339.1177 ext 102
> 407.339.6704 (fax)
> 407.310.8316 (cell)
> http://www.conviveon.com
> <Dov Rosenberg.vcf>
This archive was generated by hypermail 2.0.0 : Thu Aug 28 2003 - 04:40:21 EDT