Re: WOLips + Maven3
Henrique Prange <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Hi Gintautas, I think there is something missing the Maven guide. Could you check in the Run Configurations (WO tab) if the NSProjectBundleEnabled property is enabled? You should disable it. Cheers, Henrique On 09/10/2012, at 17:11, Lachlan Deck <[email protected]> wrote: > On 09/10/2012, at 11:32 PM, Gintautas Sulskus <[email protected]> wrote: > >> The only difference between my 2 projects is the class path: > > I suspect that could be your problem… > >> 1st, working project, has references to WOFramework/* WebObjects/Wonder framework and custom jar entries. > > i.e., ant build setup? > >> 2nd, problematic project, has got only jar entries for everything. > > what's the layout of your project? > maven convention == > src/main/java > src/main/resources > src/main/components > etc > > Ant == > Sources > Components > etc > > You can't just drop a pom in there and expect it'll just work. Have a look at how projects are created from maven. > >> Hm, I followed the instructions, but added only "build/myproject.woa/Contents/Resources/Java" dir to run configuration classpath. Didn't help. > > Do you have your own frameworks also? They should also be added. > >> Should I also include my WebObjects/Wonder projects in run conf? > > Shouldn't be necessary, unless you're using any EOModels from wonder. > >> WOLips properties file points to their location though. > > IIRC wolips.properties file shouldn't have much effect for maven builds. > >> Not sure where to start looking for mistakes. Advices are very appreciated! > > I'd suggest starting with a simple hello-world womaven project and building up from there. > > Have you tried a simple womaven project? i.e., generating the project from the archetype as described on the wiki? > > cheers, > > Lachlan > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Wonder-disc mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wonder-disc ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev