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
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Other Build Tools
xdoclet ant task issue
Manoj Chandran
Greenhorn
Posts: 25
posted 15 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 15 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 15 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 15 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
.
Paper jam tastes about as you would expect. Try some on this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
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...