Hi Erik,

My bad, the JIRA number is 348.

Please find attached the build script we are currently using (please excuse
the mess, we are currently adapting scripts from an old project - which also
showed this issue) and the output we are seeing is inline below. The
important part is in the war.development target. I added the second call to
webdoclet back into our build scipt. Note that the second run of the
webdoclet task shows <null/> as the sub-task names and does not produce any
output, i.e. no web.xml file is written to the output directory.

Craig



C:\dev\ses\Dev>ant war
Buildfile: build.xml

init:

compile:
    [javac] Compiling 1805 source files to C:\dev\ses\Dev\build\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
     [copy] Copying 6 files to C:\dev\ses\Dev\build\classes\conf

applet:
      [jar] Building jar: C:\dev\ses\Dev\build\applets.jar
      [jar] Building jar: C:\dev\ses\Dev\build\printing.jar

war.development:
    [mkdir] Created dir:
C:\jboss-3.0.6_tomcat-4.1.18\server\default\deploy\kirus-kiev.war
[webdoclet] Running <deploymentdescriptor/>
[webdoclet] Generating web.xml.
[webdoclet] Running <jbosswebxml/>
[webdoclet] Generating output 'jboss-web.xml' using template file
'jar:file:C:\dev\ses\Dev\lib\xdoclet-jboss-module-1.2b
2.jar!/xdoclet/modules/jboss/web/resources/jboss_web_xml.xdt'.
[webdoclet] Running <weblogicwebxml/>
[webdoclet] Generating output 'weblogic.xml' using template file
'jar:file:C:\dev\ses\Dev\lib\xdoclet-bea-module-1.2b2.j
ar!/xdoclet/modules/bea/wls/web/resources/weblogic_web_xml.xdt'.
    [mkdir] Created dir: C:\dev\ses\Dev\build\war2
[webdoclet] Running <null/>
[webdoclet] Running <null/>
[webdoclet] Running <null/>
     [copy] Copying 1912 files to
C:\jboss-3.0.6_tomcat-4.1.18\server\default\deploy\kirus-kiev.war\WEB-INF\cl
asses
     [copy] Copying 2 files to
C:\jboss-3.0.6_tomcat-4.1.18\server\default\deploy\kirus-kiev.war\WEB-INF\li
b
     [copy] Copying 5 files to
C:\jboss-3.0.6_tomcat-4.1.18\server\default\deploy\kirus-kiev.war\WEB-INF\co
nf
     [copy] Copying 12 files to
C:\jboss-3.0.6_tomcat-4.1.18\server\default\deploy\kirus-kiev.war\WEB-INF\tl
ds
     [copy] Copying 625 files to
C:\jboss-3.0.6_tomcat-4.1.18\server\default\deploy\kirus-kiev.war

war.production:

war:

BUILD SUCCESSFUL
Total time: 2 minutes 43 seconds


> -----Original Message-----
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 31, 2003 7:48 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] multiple jsptaglib nested tag in webdoclet
> 
> 
> Craig,
> 
> On Friday, March 28, 2003, at 12:39  PM, Craig Dickson wrote:
> > but got no reply. The problem is described in that email 
> and it refers 
> > to
> > the JIRA bug XDT 328.
> 
> I don't seen anything related to this in XDT-328.  Is that a typo on 
> the issue number?  If so, what is the issue number where this is 
> described?
> 
> >  I have not found a way around this issue, that doesn't
> > involve declaring multiple taskdefs (each with a different 
> name) for 
> > the
> > WebDocletTask class. So for my current arrangement that would mean 
> > declaring
> > like 8 or 9 different WebDoclet tasks just to get the job 
> done in one 
> > Ant
> > run.
> 
> Actually, I just checked and my current project is using <webdoclet> 
> twice (within the same target, in fact) and its working 
> perfectly fine. 
>   We are using 1.1b2.  In both <webdoclet>'s, we are 
> generating web.xml, 
> struts-config.xml, validation.xml, a TLD, and jrun-web.xml.  The 
> generation is occurring on two different source trees and generating 
> into two different destination directories.
> 
> > Do you have any idea about this issue? I am still baffled that the 
> > issue
> > exists because I cannot see how people are using XDoclet "cleanly" 
> > with this
> > issue being present. Am I missing something?
> 
> Let me know the JIRA issue with more details and I'll see what I can 
> find out.  From our current build which does what you are saying is 
> failing for you I can only suspect there is something wrong in your 
> environment or usage until I get more details.
> 
>       Erik
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb: 
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 

Attachment: build.xml
Description: Binary data

Reply via email to