Yeah I did set that directory. In any case, I'm not sure what the problem is, but I got everything to work inside eclipse after much headache. I still can't get it from the command line but ultimately I wanted to incorporate it into a project in eclipse anyway so I'm good. Thanks.

-Brandon


----- Original Message ----- From: "Lach, Thierry" <[EMAIL PROTECTED]>
To: "Apache Torque Users List" <[email protected]>; "Brandon Mayes" <[EMAIL PROTECTED]>
Sent: Tuesday, February 15, 2005 3:41 PM
Subject: RE: Maven won't compile Java soure




This is a Maven issue.  You need to set the source directory in the
maven project.xml.

At a minimum you probably need:

   <build>
       <sourceDirectory>src</sourceDirectory>
   </build>

-----Original Message-----
From: Brandon Mayes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 9:37 AM
To: [email protected]
Subject: Maven won't compile Java soure


Hi everyone. I'm following the tutorial for the Bookstore sample application on the torque main page. I was able to get it to generate the SQL for me and even create the tables in my MySQL database (I checked it manually...they are there). I have done everything exactly as it has stated and now when I try to run the command "maven java:compile" I get a "successful" build but the problem is that it's succesful because it doesn't even find any .java files to compile. It prints the following message when I run the above command:

   [echo] No java source files to compile.

I ran maven -X to get the debug messages and I found that it seems to be
setting something called maven.compile.src.set yet it is empty.  Is that
a problem?  Anyone know what the problem actually is?  It doesn't seem
to be able to find the java source files.  I'm using Maven and NOT ant.
It's torque 3.1.1 as well.  Help!

Thanks,
Brandon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by calling 1-800-262-4723 or e-mail to [EMAIL PROTECTED] We appreciate your cooperation.


---------------------------------------------------------------------
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]



Reply via email to