On Wed, 31 Dec 2003, at 11:16:47 [GMT -0800] Keith Irwin wrote: >> The source directory is: >> . >> |-- project.properties >> |-- project.xml >> |-- project >> |`-- src >> | |`-- com >> | |`-- sra >> | |`-- app >> | |`-- App.java >> | >> |`-- unit_test >> |`-- src >> |`-- com >> |`-- sra >> |`-- app >> |-- AppTest.java
> In your project.xml file, you'll need something like: > <sourceDirectory> > project/src > </sourceDirectory> > <unitTestSourceDirectory> > project/unit_test/src > </unitTestSourceDirectory> > The problem is that the unit test directory falls under the src > directory, so I think you'll have to set some "includes" and "excludes" > in the <unitTest> element of the project.xml. I'm not sure how to fix > the sourceDirectory as I don't see any properties for dealing with > that. Is it impossible to re-arrange your source code? It looks like his unit tests are under a separate tree from the source code, so your project.xml snippets should work without rearranging files. > There's also the "resources" element, but I've not seen any explanation > anywhere about what that does or what that means. Here is a little explanation of the resources element: http://maven.apache.org/reference/project-descriptor.html#resources Jeff -- mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
