--- Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > So do you have this projects in different > locations, or could you > just create several project.properties (or whatever) > to specify the > information for this projects and keep all the > source under a common > location and/or repository?
There could be different approaches. But yes, you can override source positions with project.properties and sources you specify in project.xml do not have to be under the same directory. For example I created maven build environment for hibernate ( http://www.pribluda.de/hibernate-maven.tar.gz ) which uses the same source structure as for ant build ( tests do not work, but they do not work with ant either :) ) > Currently I'm developing a J2EE application that > has a war and two > ejb jars, that's why I'm so interested in this > issue. Could you please > outline you file hierarchy? Well, I would suggest to keep code for different ejb-jars in seperate trees, use xdoclet and produce ejb-jar as well jar of client classes. (and install them into local repository ) Then web tier could state dependency on those client jars ( and will get them fresh and smelly if you use reactor ) Then integration project could jar ewerything together to produce deployable .ear > I understand that you could override some of the > standard goals and > finally call your custom build script if those > standard goals doesn't > match your interests, couldn't you? Or create new > goals... By the way, > what are the standard cases? I've seen goals in > maven for j2ee:ejb, > j2ee:war, etc, but they seem to be oriented for a > J2EE application with > a single war and a single jar file, am I wrong? I > have the feeling that > maven is rather inmatture in this sense, I mean, > working with a fairly > complex J2EE application requires some hacking or > workaround to get > maven working (or using reactor, as you point out in > your last mail). > Maybe I just don't know how to use it... Well, maven is still in beta but really usefull. Just look into plugin.jelly to see what happens behind the scenes. As with most opensource projects documentation is lightyears behind... ( or lacking completely ) > Thank you very much for your kind help. By the > way, where are you > from? I'm from Spain, and I'm right now trying to > stablish as a > freelance developer, what about your experience? I'm from germany, and used to be freelance deleoper last years. Now it's really diffucult - banks do not spend money, contract rates are low and all the remain of internet hype are pulling rates down even further. Now I'm permanently employed project manager with 3 ( soon 4? ) developers and solide project which has nothing to do with banks - it's sewer systems :) ( even if all the banks go down the drain, they will still pass sewage pipes :) ) In my current position I feel comfortable - I can get really good developers easily :) regards, ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
