Hi Hugi, I have to agree with you about WO not being maven friendly, but with a few tweaks and minor adjustments it's definitely possible. I've migrated a bunch of old WO applications that were running on ant successfully. The only problem I still have to solve is Eclipse debugging with Maven, but that's more like M2Eclipse issue. That being said, if you need help I will be at WOWODC in a few months, maybe I could share some tricks with you (who whoever would be interested). Martin
> Subject: Re: Creating a WO Maven project > From: h...@karlmenn.is > Date: Thu, 18 Apr 2013 18:46:00 +0000 > To: list...@dakri.com > CC: webobjects-dev@lists.apple.com > > FWIW I use Maven (and more recently, Gradle) for everything except WO. WO > hates Maven and the more influential WO-folks hate Maven too, so currently > it's just easier to use Ant. > > - hugi > > > > On 18.4.2013, at 17:02, Faizel Dakri <list...@dakri.com> wrote: > > > I believe the Wonder projects have customized pom.xml files that specify > > the sourceDirectory explicitly. But this is sort of going against the maven > > standard. There was an old page on the wiki that touched on this: > > > > http://wiki.wocommunity.org/display/documentation/Maven+Kicking+the+tyres+without+changing+your+project+structure > > > > F > > > > On 2013-Apr-18, at 11:25 AM, Pascal Robert <prob...@macti.ca> wrote: > > > >> So, no way to have fluffy bunny with Maven? How it's working for Wonder > >> then? > >> > >>> The documentation needs……(drum roll)…. > >>> updating… > >>> > >>> Use the command line (make an alias, you won't remember it) : > >>> > >>> mvn archetype:generate -DarchetypeCatalog=local > >>> > >>> This assumes you have the catalog archetype-catalog.xml in ~/.m2 > >>> > >>> If so you see: > >>> > >>> [INFO] No archetype defined. Using maven-archetype-quickstart > >>> (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) > >>> Choose archetype: > >>> 1: local -> org.objectstyle.woproject.maven2:erxapplication-archetype > >>> (Wonder Application Archetype) > >>> 2: local -> org.objectstyle.woproject.maven2:erxapplication-d2w-archetype > >>> (Wonder D2W Application Archetype) > >>> 3: local -> > >>> org.objectstyle.woproject.maven2:erxapplication-servlet-archetype (Wonder > >>> Servlet Application Archetype) > >>> 4: local -> > >>> org.objectstyle.woproject.maven2:partial-woapplication-servlet-archetype > >>> (Partial WebObjects Servlet Application Archetype) > >>> 5: local -> org.objectstyle.woproject.maven2:woapplication-archetype > >>> (WebObjects Application Archetype) > >>> 6: local -> > >>> org.objectstyle.woproject.maven2:woapplication-servlet-archetype > >>> (WebObjects Servlet Application Archetype) > >>> 7: local -> org.objectstyle.woproject.maven2:woframework-archetype > >>> (WebObjects Framework Archetype) > >>> Choose a number or apply filter (format: [groupId:]artifactId, case > >>> sensitive contains): : > >>> > >>> > >>> Pick a number, and an application is created--no eclipse! > >>> > >>> Now import it into eclipse. But is maven layout, not fluffy bunny. You > >>> can override the standard locations src/, but then you are deviating from > >>> the uber pom. You must specify where the sources are. > >>> > >>> > >>> On Apr 9, 2013, at 9:28 AM, Pascal Robert wrote: > >>> > >>>> Ok, so I'm trying to drink the Maven koolaid, but you are not helping. > >>>> Somes pages about Maven on the wiki talks about creating projects by > >>>> command line, so about using archetypes in WOLips, but those archetypes > >>>> are not in WOLips. > >>>> > >>>> So, what are the steps to create a Maven project with the "Fluffy Bunny" > >>>> layout in WOLips? > >>>> _______________________________________________ > >>>> Do not post admin requests to the list. They will be ignored. > >>>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > >>>> Help/Unsubscribe/Update your Subscription: > >>>> https://lists.apple.com/mailman/options/webobjects-dev/gsbrown%40umich.edu > >>>> > >>>> This email sent to gsbr...@umich.edu > >>> > >>> > >>> Greg Brown > >>> gsbr...@umich.edu > >>> > >>> > >>> > >>> -- > >>> gsbr...@umich.edu > >> > >> > >> _______________________________________________ > >> Do not post admin requests to the list. They will be ignored. > >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > >> Help/Unsubscribe/Update your Subscription: > >> https://lists.apple.com/mailman/options/webobjects-dev/listfez%40dakri.com > >> > >> This email sent to list...@dakri.com > > > > > > _______________________________________________ > > Do not post admin requests to the list. They will be ignored. > > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is > > > > This email sent to h...@karlmenn.is > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/syrinx2002%40msn.com > > This email sent to syrinx2...@msn.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com