Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Other Build Tools
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Other Build Tools
xdoclet ant task issue
Manoj Chandran
Greenhorn
Posts: 25
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The below
ant
task in build.xml is failing to generate web.xml and struts.xml to the corresponding dir.
Please help with fixing this issue.
<xdoclet> <!-- defines the file handled by xdoclet2 --> <fileset dir="${src.dir}"> <include name="**/*Action.java" /> </fileset> <!-- defines the processing of a plugin --> <component classname="org.xdoclet.plugin.web.WebPlugin" destdir="${web.dd.dir}" mergedir="${merge.dir}" validate="false" /> <component classname="com........plugin.XWork2XMLPlugin" destdir="${web.dd.dir}/classes" mergefile="${merge.dir}/struts.xml" validate="false" /> </xdoclet>
Thanks & Regards,
Manoj Chandran
Martijn Verburg
author
Posts: 3285
13
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What error are you seeing?
Cheers, Martijn,
Twitter
.
Manoj Chandran
Greenhorn
Posts: 25
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It doesnt give any exception.
Just that if I hardcode the merge and dest dirs it generates the files properly.
Thanks & Regards,
Manoj Chandran
Martijn Verburg
author
Posts: 3285
13
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
try echoing out your ${} variables and see what they are resolving to.
Cheers, Martijn,
Twitter
.
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
issue with Xdocler Ant Task
hibernate/xdoclet works in one directory but not another
How to run hibernatedoclet in eclipse directory
Using ANT and XDoclet
XDoclet 1.2 vs XDoclet 2
More...