Don
James Mitchell wrote:
Have you looked at what Maven does for "maven genapp"?
-- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx
----- Original Message ----- From: "Don Brown" <[EMAIL PROTECTED]> To: "Struts Developers List" <dev@struts.apache.org> Sent: Tuesday, February 22, 2005 10:40 AM Subject: Re: Blank Questions
James Mitchell wrote: <snip />
2. Any way we could ship with servlet.jar? It would be nice if this could be completely self-contained.
Why would that need to be included? I don't understand what you mean.
What I'd like, in a perfect world, is a struts-blank.war I could hand someone and tell them, "Unzip this and you have everything you need to write a Struts application.". As it is now, the instructions are more like, "Unzip this, find this jar, create this directory, edit these paths in build.xml, now develop an app." I'm thinking of how easy something like Ruby on Rails makes it for developers to get started and, while I understand the logic of having say one servlet-api.jar in a shared location, in reality it is just another hoop a beginner has to jump through. Struts and Java development in general have too many of those, IMO.
3. Does it need to come with chain-config.xml? Most people won't need to customize this.
If you are referring to having the chain-config.xml separate as well as embedded in the jar, I think all the apps should do that as well.
Ok, I can see how it would be useful to be there just in case.
4. I take it the build is currently broken as the built war seems to be missing things like WEB-INF/src Is anyone currently working on fixing it? If not, I can give it a go.
Not sure what you mean, there are no sources other than the MessageResources.properties file. Is that what you mean?
Well that file for one and the WEB-INF/src tree which includes build.xml and src/java, at least that is how the last blank-example.war looked like.
5. A minor thing, but I'd also like to make the default "dist" directory be a relative directory to avoid, hopefully, all external directory modifications.
What do you mean?
Well, if you look in the example build.xml, it has "distpatch.project" as "/projects/lib" and I would think a much more useful initial value would be "dist" as it avoids yet another place someone has to edit a file to make it work.
Don
Thanks,
Don
-- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]