Turned out to be a permissions problem after. Just to test it out, I switched to root user and created a new project from scratch. To speed up things, I just copied all the java files from the previous project. This time ant gen-forms worked.
Permissions really create a lot of havoc, even though you use "chown -R myself:myself /dirname" to change ownership to you from root. To list the steps I did from beginning to end: -- svn checkout build 1.9.x (as root) -- ran ant new (as root) -- ran ant setup (as root) -- sudo chown -R me:me appdir/ --> to change ownership to me -- Did all remaining tasks as me, which worked successfully till I had to run "app gen-forms" Any thoughts, ideas (regarding why I had the permissions problem) will really help since I moved to linux only a month back. Thanks, Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 ====================================== IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain information that is privileged and confidential, the disclosure of which is governed by applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately and arrange for the return or destruction of these documents. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: Thursday, October 04, 2007 2:44 PM To: [email protected] Subject: Re: [appfuse-user] PersonForm.java not being generated Do you have the @hibernate.class in the class's javadoc as well? Are you extending BaseObject? Do you have it in your project's "model" directory? Matt On 10/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I copied that line from User.java and added it to my Person.java class > > I also tried used org.appfuse.webapp.form.BaseForm > > I tried everything possible. Anyone else have the same problem. Any tips > on how to troubleshoot. > > What am I typically supposed to see as an output when I run ant. > > Thanks, > Vanessa Pacheco > Programmer > Bowman Systems L.L.C > 318.213.8780x307 > > ====================================== > IMPORTANT WARNING: This message is intended for the use of the person or > entity to which it is addressed and may contain information that is > privileged and confidential, the disclosure of which is governed by > applicable law. If the reader of this message is not the intended > recipient, or the employee or agent responsible to deliver it to the > intended recipient, you are hereby notified that any dissemination, > distribution or copying of this information is strictly prohibited. If you > have received this message in error, please notify the sender immediately > and arrange for the return or destruction of these documents. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt > Raible > Sent: Thursday, October 04, 2007 2:26 PM > To: [email protected] > Subject: Re: [appfuse-user] PersonForm.java not being generated > > Make sure you have an @struts-form tag on your Person.java class. > > Here's an example: > > http://tinyurl.com/ypq3ax > > Matt > > On 10/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi, > > > > > > > > I am using Appfuse 1.9.x + Struts. I am going through the tutorial and > have > > successfully finished the 1st 2 parts. Now it's time to create the > Struts > > Action form etc etc. > > > > > > > > I added the Xdoclet tag and ran "ant gen-forms". Build is successful but > it > > really doesn't do much. > > > > > > > > Here's the output from running ant > > > > > > > > [EMAIL PROTECTED]:/opt/dev/tools/PersonApp$ ant gen-forms > > Buildfile: build.xml > > > > init: > > > > prepare: > > [echo] Preparing target directory > > '/opt/dev/tools/PersonApp/build/PersonApp' > > > > gen-forms: > > > > > > > > BUILD SUCCESSFUL > > > > > > > > Vanessa Pacheco > > Programmer > > Bowman Systems L.L.C > > 318.213.8780x307 > > > > > > > > ====================================== > > > > IMPORTANT WARNING: This message is intended for the use of the person or > > entity to which it is addressed and may contain information that is > > privileged and confidential, the disclosure of which is governed by > > applicable law. If the reader of this message is not the intended > recipient, > > or the employee or agent responsible to deliver it to the intended > > recipient, you are hereby notified that any dissemination, distribution > or > > copying of this information is strictly prohibited. If you have received > > this message in error, please notify the sender immediately and arrange > for > > the return or destruction of these documents. > > > > > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
