So right off the bat, what is this "Using Apple Plug-in" at the top. I know they're working/did work on something also. Is this overlapping work or in-addition-to work? Whatever that is needs an explanation in this tutorial -- do i want it? Do I need to do that before I follow this tutorial?
New Maven Project doesn't appear to actually get defaulted to be a top level project type in Eclipse, so the tutorial is a little misleading here for total WOLips/Eclipse newbies.
"Using m2eclipse and woapplication-archetype
The tutorial below supposes you already have installed m2eclipse plug-in. You also have to copy the archetype catalog to your local repository as described here. For more information about how to configure Maven to build WebObjects applications, see this tutorial."
m2eclipse ... I mean, there's nothing you can do here. That is what it is.
"You also have to copy the archetype catalog to your local repository as described here. For more information about how to configure Maven to build WebObjects applications, see this tutorial."
This is for the birds, though :) First of all, wtf is this talking about. It requires the maven archetype plugin -- i honestly can't even tell from the site it links to if this is talking about an Eclipse plugin or a Maven plugin. And it says that I need it, but the page it links to says "The Archetype Plugin is embedded in IDEs Eclipse , NetBeans , IDEA." so I'm not sure if I have it already? I happen to already have these on my machine, but I'm not sure if I just did this process before or if this got autoinstalled in newer versions of these plugins.
I also love that this page says "allows the user to create a Maven 2 project from an existing template called an archetype." -- why didn't you just call it a template, people? I think Maven developers just like making up new words. This is how I feel about git, too, btw.
So I really can't tell from this archetype page whether the commands listed show me how to install this thing, or whether this is what I run after I install something. I'm not trying to be dense here, but this is sort of my point with the "just works" part. If I have to open a commandline, my IDE failed, IMO. Any way to get this so it's just setup for people?
I don't know if the target of this wiki page is people who know Maven already or not, but I think it's worth sticking a one sentence "wtf is an archetype" in Step 0, since step 0 and Step 3 both are making me pick one. But if this is assuming I already know Maven, then I don't guess it's worth it since you guys probably already know what they're saying.
So they have these catalogs in step 3 ... Are these remote repo's? Can Step 0 be removed if this is hosted somewhere?
Step 4 .... wtf is a group id and an artifact id? It has a note on the -SNAPSHOT, so I'll accept that :) Those values I guess make more sense as I start to type and they appear in the package name, but the screenshot actually is a little different here -- it looks like group id roughly is "com.mdimension" and artifact id is "projectname" so my package ends up com.mdimension.projectname, but I'm not really sure what the implications are of setting these.
This properties stuff at the bottom of this wizard has toootallly gotta go. The red note makes it sound like making this WILL be supported at some point and it's just not yet?
"4/4/09 10:20:08 AM EDT: [ERROR] The desired archetype does not exist (org.objectstyle.woproject.maven2:woapplication-archetype:2.0.16-SNAPSHOT) The desired archetype does not exist (org.objectstyle.woproject.maven2:woapplication-archetype:2.0.16-SNAPSHOT)"
ok .. so I guess i DON'T have this archetype already installed? Going back to Step zero here ... So it says it's already embedded in Eclipse on that page, but there's no way that has any meaning if the next line is telling me to run a commandline thing:
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Required goal not found: archetype:generate
I get that and the page that linked to said archetype:generate is one of the goals provided by the plugin, which leads me to believe I don't, in fact, have that plugin installed. Oh ok, so the yellow box is saying I can download this thing from the given link. ugh i have to merge this thing. This file still has webobjects.mdimension.com URLs in it, but I think you guys are on a different server now. OK I'm stopping for now ...
.. end comments based on screenshots from tutorial:
I've mentioned this before, but src/main/resources and src/main/components should not be source folders. They don't contain Java, so it's kind of weird and confusing to mark them like that.
Random question: what are the rules in src/main/components -- will those flatten?
Random question2: where are my WebServerResources in this screenshot at the bottom?
I think this is key, and I said it earlier that I'm sure it CAN be just as simple for people, but it really isn't there yet, IMO.