Hi, I have a project with 2 main folders - /src and /test. Within each are identical package structures. The problem I am running into is that the classes in /test need some .hbm.xml files from the /src folder. When I compile the /test classes they obviously don't include the .hbm.xml files from /src. Any advice on how to get this to work?
I think, this depends upon the type of your project. Is it "hand-made"? Or built by some IDE? A Maven project? The latter two should simplify this a lot...
Most developers use Eclipse to build it and combine the /src and /test files together. I use IDEA and find that IDEA cannot do this - instead IDEA splits them into 2 separate output folders. So I was thinking of writing an ant build script to do this.
I recently became a fan of Maven and it provides an extra "resources" directory for your "normal" code as well as for test code which can be used for such additional things which are not really code.
Marco
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
Gift giving made easy with the permaculture playing cards