Eric, I've posted the same question previously - hope we can get an answer. I based my project on Matt Raible's struts-resume project. Matt's project handles the "packageSubstitution" just fine. I'm starting to thing I must have a different version of the strutsform task.
In the meantime, I've hacked my ant build to copy the forms to the right directory and replace the package name appropriately. Ant can make up for a lot of problems - but it gets messy quickly if you do too much. - Richard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Chow Sent: Wednesday, March 19, 2003 6:41 PM To: [EMAIL PROTECTED] Subject: [Xdoclet-user] <strutsform> problem Hello, I am a fresh user in xDoclet. I tried to generated some Struts ActionForm. But it always in the same directory of EJB. The following are in my build.xml. <strutsform destdir="${project.gen-src.dir}" mergeDir="${project.resources}/struts"> <packageSubstitution packages="my.lib" substituteWith="form"/> </strutsform> But the package of XXXActionForm.java will be generated as "my.lib.ejb" How can define the package as "my.lib.form" ?? Bets regards, Eric ========================== If you know what you are doing, it is not called RESEARCH! ========================== ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
