[OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))
I had been considering moving to MacOS X for a while now just because of general windows frustration. I was wondering how many issues, such as the one below, there are in developing on a mac? I've heard that Eclipse runs much faster in Windows than on a Mac as well, and I don't know if their Xcode environment can work with java. The last time I was developing java on a mac was about 8 years ago, I think we were using Codewarrior at the time. Are many people on the list developing java with MacOS, and which tools work best on that platform? -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Saturday, February 28, 2004 8:57 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available) that lets me define the individual versions of *all* dependencies for *all* projects so that I can say, for example, use *this* version of commons-beanutils and *that* version of commons-digester to build ***all*** of the components that are going in to my overall exectable. I am *so* not interested in dealing with runtime exceptions because different dependent packages were compiled against different versions of the dependent libraries. Can someone please help me understand how to do this with Maven? Without it, I'm not planning to switch any of my personal or internal-to-Sun projects (even if the Struts committers decide to switch Struts development itself). This is actually pretty easy, if I understand you correctly. If you define the Maven property maven.jar.override to the value on, then when resolving dependencies, Maven will check each against a possibly defined override. For example, the version of Cactus that everyone else in Struts uses doesn't work on Mac OS X. The Cactus CVS head has the patch that works, so in my Struts/maven environment, I have this defined: maven.jar.override=on # patched version of cactus related to Mac OS X: # http://issues.apache.org/bugzilla/show_bug.cgi?id=25266i maven.jar.cactus-ant=1.6dev-2003-12-07 maven.jar.jakarta-cactus-framework=13-1.6dev You can use full paths to JARs as well as version numbers. This is detailed here: http://maven.apache.org/reference/user-guide.html#Overriding_Stated_Dependen cies Properties are defined like so: (http://maven.apache.org/reference/user-guide.html#Properties_Processing): The properties files in Maven are processed in the following order: *${project.home}/project.properties * ${project.home}/build.properties * ${user.home}/build.properties Where the last definition wins. So, Maven moves through this sequence of properties files overridding any previously defined properties with newer definitions. In this sequence your ${user.home}/build.properties has the final say in the list of properties files processed. We will call the list of properties files that Maven processes the standard properties file set. In addition, System properties are processed after the above chain of properties files are processed. So, a property specified on the CLI using the -Dproperty=value convention will override any previous definition of that property. So if you wanted to have it universally, you'd define this in ${user.home}/build.properties but if it were just for a specific project, you'd define it in ${project.home}/build.properties Did I answer the right question? Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))
I have been extremely happy with IDEA on the MacOS X platform, although Mac was a little late getting a jdk1.4 up and running. I'm on Jaguar, have not migrated to Panther... -jeff On Monday, March 1, 2004, at 09:07 AM, Paul, R. Chip wrote: I had been considering moving to MacOS X for a while now just because of general windows frustration. I was wondering how many issues, such as the one below, there are in developing on a mac? I've heard that Eclipse runs much faster in Windows than on a Mac as well, and I don't know if their Xcode environment can work with java. The last time I was developing java on a mac was about 8 years ago, I think we were using Codewarrior at the time. Are many people on the list developing java with MacOS, and which tools work best on that platform? -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Saturday, February 28, 2004 8:57 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available) that lets me define the individual versions of *all* dependencies for *all* projects so that I can say, for example, use *this* version of commons-beanutils and *that* version of commons-digester to build ***all*** of the components that are going in to my overall exectable. I am *so* not interested in dealing with runtime exceptions because different dependent packages were compiled against different versions of the dependent libraries. Can someone please help me understand how to do this with Maven? Without it, I'm not planning to switch any of my personal or internal-to-Sun projects (even if the Struts committers decide to switch Struts development itself). This is actually pretty easy, if I understand you correctly. If you define the Maven property maven.jar.override to the value on, then when resolving dependencies, Maven will check each against a possibly defined override. For example, the version of Cactus that everyone else in Struts uses doesn't work on Mac OS X. The Cactus CVS head has the patch that works, so in my Struts/maven environment, I have this defined: maven.jar.override=on # patched version of cactus related to Mac OS X: # http://issues.apache.org/bugzilla/show_bug.cgi?id=25266i maven.jar.cactus-ant=1.6dev-2003-12-07 maven.jar.jakarta-cactus-framework=13-1.6dev You can use full paths to JARs as well as version numbers. This is detailed here: http://maven.apache.org/reference/user- guide.html#Overriding_Stated_Dependen cies Properties are defined like so: (http://maven.apache.org/reference/user- guide.html#Properties_Processing): The properties files in Maven are processed in the following order: *${project.home}/project.properties * ${project.home}/build.properties * ${user.home}/build.properties Where the last definition wins. So, Maven moves through this sequence of properties files overridding any previously defined properties with newer definitions. In this sequence your ${user.home}/build.properties has the final say in the list of properties files processed. We will call the list of properties files that Maven processes the standard properties file set. In addition, System properties are processed after the above chain of properties files are processed. So, a property specified on the CLI using the -Dproperty=value convention will override any previous definition of that property. So if you wanted to have it universally, you'd define this in ${user.home}/build.properties but if it were just for a specific project, you'd define it in ${project.home}/build.properties Did I answer the right question? Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin - 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]
RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))
I'm using Panther (OS X 10.3) with Eclipse, tomcat, mySQL and things are working perfectly fine. The latest JDK on OS X is 1.4.2. -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 10:23 AM To: Struts Users Mailing List Subject: Re: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)) I have been extremely happy with IDEA on the MacOS X platform, although Mac was a little late getting a jdk1.4 up and running. I'm on Jaguar, have not migrated to Panther... -jeff On Monday, March 1, 2004, at 09:07 AM, Paul, R. Chip wrote: I had been considering moving to MacOS X for a while now just because of general windows frustration. I was wondering how many issues, such as the one below, there are in developing on a mac? I've heard that Eclipse runs much faster in Windows than on a Mac as well, and I don't know if their Xcode environment can work with java. The last time I was developing java on a mac was about 8 years ago, I think we were using Codewarrior at the time. Are many people on the list developing java with MacOS, and which tools work best on that platform? -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Saturday, February 28, 2004 8:57 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available) that lets me define the individual versions of *all* dependencies for *all* projects so that I can say, for example, use *this* version of commons-beanutils and *that* version of commons-digester to build ***all*** of the components that are going in to my overall exectable. I am *so* not interested in dealing with runtime exceptions because different dependent packages were compiled against different versions of the dependent libraries. Can someone please help me understand how to do this with Maven? Without it, I'm not planning to switch any of my personal or internal-to-Sun projects (even if the Struts committers decide to switch Struts development itself). This is actually pretty easy, if I understand you correctly. If you define the Maven property maven.jar.override to the value on, then when resolving dependencies, Maven will check each against a possibly defined override. For example, the version of Cactus that everyone else in Struts uses doesn't work on Mac OS X. The Cactus CVS head has the patch that works, so in my Struts/maven environment, I have this defined: maven.jar.override=on # patched version of cactus related to Mac OS X: # http://issues.apache.org/bugzilla/show_bug.cgi?id=25266i maven.jar.cactus-ant=1.6dev-2003-12-07 maven.jar.jakarta-cactus-framework=13-1.6dev You can use full paths to JARs as well as version numbers. This is detailed here: http://maven.apache.org/reference/user- guide.html#Overriding_Stated_Dependen cies Properties are defined like so: (http://maven.apache.org/reference/user- guide.html#Properties_Processing): The properties files in Maven are processed in the following order: *${project.home}/project.properties * ${project.home}/build.properties * ${user.home}/build.properties Where the last definition wins. So, Maven moves through this sequence of properties files overridding any previously defined properties with newer definitions. In this sequence your ${user.home}/build.properties has the final say in the list of properties files processed. We will call the list of properties files that Maven processes the standard properties file set. In addition, System properties are processed after the above chain of properties files are processed. So, a property specified on the CLI using the -Dproperty=value convention will override any previous definition of that property. So if you wanted to have it universally, you'd define this in ${user.home}/build.properties but if it were just for a specific project, you'd define it in ${project.home}/build.properties Did I answer the right question? Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin - 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]
Re: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))
I use xcode on osx and personally i prefer it to those swing based things, (although IDEA I hear is in a class of its own). Xcode isn't as bigger leap at apple would have you believe I had project builder doing the same sorts of things with ant. But its quite nice that all the basics are there (JBoss-tomcat, ant, xdoclet) and you can create you own templates. Does all you need without messing with your stuff too much like eclipse. Its a different kettle of fish to the old java development on MacOS that you mentioned. On 1 Mar 2004, at 16:45, Nguyen, Hien wrote: I'm using Panther (OS X 10.3) with Eclipse, tomcat, mySQL and things are working perfectly fine. The latest JDK on OS X is 1.4.2. -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 10:23 AM To: Struts Users Mailing List Subject: Re: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)) I have been extremely happy with IDEA on the MacOS X platform, although Mac was a little late getting a jdk1.4 up and running. I'm on Jaguar, have not migrated to Panther... -jeff On Monday, March 1, 2004, at 09:07 AM, Paul, R. Chip wrote: I had been considering moving to MacOS X for a while now just because of general windows frustration. I was wondering how many issues, such as the one below, there are in developing on a mac? I've heard that Eclipse runs much faster in Windows than on a Mac as well, and I don't know if their Xcode environment can work with java. The last time I was developing java on a mac was about 8 years ago, I think we were using Codewarrior at the time. Are many people on the list developing java with MacOS, and which tools work best on that platform? -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Saturday, February 28, 2004 8:57 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available) that lets me define the individual versions of *all* dependencies for *all* projects so that I can say, for example, use *this* version of commons-beanutils and *that* version of commons-digester to build ***all*** of the components that are going in to my overall exectable. I am *so* not interested in dealing with runtime exceptions because different dependent packages were compiled against different versions of the dependent libraries. Can someone please help me understand how to do this with Maven? Without it, I'm not planning to switch any of my personal or internal-to-Sun projects (even if the Struts committers decide to switch Struts development itself). This is actually pretty easy, if I understand you correctly. If you define the Maven property maven.jar.override to the value on, then when resolving dependencies, Maven will check each against a possibly defined override. For example, the version of Cactus that everyone else in Struts uses doesn't work on Mac OS X. The Cactus CVS head has the patch that works, so in my Struts/maven environment, I have this defined: maven.jar.override=on # patched version of cactus related to Mac OS X: # http://issues.apache.org/bugzilla/show_bug.cgi?id=25266i maven.jar.cactus-ant=1.6dev-2003-12-07 maven.jar.jakarta-cactus-framework=13-1.6dev You can use full paths to JARs as well as version numbers. This is detailed here: http://maven.apache.org/reference/user- guide.html#Overriding_Stated_Dependen cies Properties are defined like so: (http://maven.apache.org/reference/user- guide.html#Properties_Processing): The properties files in Maven are processed in the following order: *${project.home}/project.properties * ${project.home}/build.properties * ${user.home}/build.properties Where the last definition wins. So, Maven moves through this sequence of properties files overridding any previously defined properties with newer definitions. In this sequence your ${user.home}/build.properties has the final say in the list of properties files processed. We will call the list of properties files that Maven processes the standard properties file set. In addition, System properties are processed after the above chain of properties files are processed. So, a property specified on the CLI using the -Dproperty=value convention will override any previous definition of that property. So if you wanted to have it universally, you'd define this in ${user.home}/build.properties but if it were just for a specific project, you'd define it in ${project.home}/build.properties Did I answer the right question? Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin - To unsubscribe, e
RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))
Nguyen, Hien [EMAIL PROTECTED] wrote: I'm using Panther (OS X 10.3) with Eclipse, tomcat, mySQL and things are working perfectly fine. The latest JDK on OS X is 1.4.2. Same here. I like it all pretty well, but the only minor drawback is that sometimes I think the Eclipse interface in OS X is a little clunky. But that's just with Eclipse -- you might find that other IDEs aren't that way. All the other great features of OS X definitely make up for it though. I don't see how you could go wrong with getting rid of your Windoze setup. And after how many hours I spent in a failed effort yesterday trying to simply *install* XP on my in-laws computer, I'd encourage you to! I have no plans of ever going back to the Windoze world -- enough of that pathetic junk is enough. Feeling Like I Just Started Another OS Shouting Match, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))
snip Feeling Like I Just Started Another OS Shouting Match /snip Yeh, cos windows is like really really g00d. Yeh. All us 133t [EMAIL PROTECTED] d00ds use it n' stuff. So dont be like putting it down cos its totally 133t and like .net will [EMAIL PROTECTED] owns linux and mac soon. Yeh. Ye gods! Mother warned me about staying up past bedtime. Looks like its all true. (Im outta here. Night all!) ;- -Original Message- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 March 2004 00:24 To: Struts Users Mailing List Subject: RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)) Nguyen, Hien [EMAIL PROTECTED] wrote: I'm using Panther (OS X 10.3) with Eclipse, tomcat, mySQL and things are working perfectly fine. The latest JDK on OS X is 1.4.2. Same here. I like it all pretty well, but the only minor drawback is that sometimes I think the Eclipse interface in OS X is a little clunky. But that's just with Eclipse -- you might find that other IDEs aren't that way. All the other great features of OS X definitely make up for it though. I don't see how you could go wrong with getting rid of your Windoze setup. And after how many hours I spent in a failed effort yesterday trying to simply *install* XP on my in-laws computer, I'd encourage you to! I have no plans of ever going back to the Windoze world -- enough of that pathetic junk is enough. Feeling Like I Just Started Another OS Shouting Match, Andy - 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]
Re: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))
hi excuse me, can you tell me can i unsubscribe from this mailig list thanks a lot - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, March 01, 2004 5:36 PM Subject: RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)) snip Feeling Like I Just Started Another OS Shouting Match /snip Yeh, cos windows is like really really g00d. Yeh. All us 133t [EMAIL PROTECTED] d00ds use it n' stuff. So dont be like putting it down cos its totally 133t and like .net will [EMAIL PROTECTED] owns linux and mac soon. Yeh. Ye gods! Mother warned me about staying up past bedtime. Looks like its all true. (Im outta here. Night all!) ;- -Original Message- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 March 2004 00:24 To: Struts Users Mailing List Subject: RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)) Nguyen, Hien [EMAIL PROTECTED] wrote: I'm using Panther (OS X 10.3) with Eclipse, tomcat, mySQL and things are working perfectly fine. The latest JDK on OS X is 1.4.2. Same here. I like it all pretty well, but the only minor drawback is that sometimes I think the Eclipse interface in OS X is a little clunky. But that's just with Eclipse -- you might find that other IDEs aren't that way. All the other great features of OS X definitely make up for it though. I don't see how you could go wrong with getting rid of your Windoze setup. And after how many hours I spent in a failed effort yesterday trying to simply *install* XP on my in-laws computer, I'd encourage you to! I have no plans of ever going back to the Windoze world -- enough of that pathetic junk is enough. Feeling Like I Just Started Another OS Shouting Match, Andy - 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]
RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))
It's included at the bottom of every message... An Obstacle is something you see when you take your eyes off the goal -Original Message- From: Tarik El Berrak [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 12:02 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)) hi excuse me, can you tell me can i unsubscribe from this mailig list thanks a lot - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, March 01, 2004 5:36 PM Subject: RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)) snip Feeling Like I Just Started Another OS Shouting Match /snip Yeh, cos windows is like really really g00d. Yeh. All us 133t [EMAIL PROTECTED] d00ds use it n' stuff. So dont be like putting it down cos its totally 133t and like .net will [EMAIL PROTECTED] owns linux and mac soon. Yeh. Ye gods! Mother warned me about staying up past bedtime. Looks like its all true. (Im outta here. Night all!) ;- -Original Message- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 March 2004 00:24 To: Struts Users Mailing List Subject: RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)) Nguyen, Hien [EMAIL PROTECTED] wrote: I'm using Panther (OS X 10.3) with Eclipse, tomcat, mySQL and things are working perfectly fine. The latest JDK on OS X is 1.4.2. Same here. I like it all pretty well, but the only minor drawback is that sometimes I think the Eclipse interface in OS X is a little clunky. But that's just with Eclipse -- you might find that other IDEs aren't that way. All the other great features of OS X definitely make up for it though. I don't see how you could go wrong with getting rid of your Windoze setup. And after how many hours I spent in a failed effort yesterday trying to simply *install* XP on my in-laws computer, I'd encourage you to! I have no plans of ever going back to the Windoze world -- enough of that pathetic junk is enough. Feeling Like I Just Started Another OS Shouting Match, Andy - 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] - This message and its contents (to include attachments) are the property of Kmart Corporation (Kmart) and may contain confidential and proprietary information. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))
I have been doing Struts projects on Mac OS X (currently Panther) for nearly 2 years now using Eclipse/Dreamweaver/Ant etc I like it. Most of my associate developers using windows on the same projects seem to wish they had a mac to work with. Java on the Mac has come a long way in 8 years. Just be prepared for different frustrations :-) I had been considering moving to MacOS X for a while now just because of general windows frustration. I was wondering how many issues, such as the one below, there are in developing on a mac? I've heard that Eclipse runs much faster in Windows than on a Mac as well, and I don't know if their Xcode environment can work with java. The last time I was developing java on a mac was about 8 years ago, I think we were using Codewarrior at the time. Are many people on the list developing java with MacOS, and which tools work best on that platform? -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Saturday, February 28, 2004 8:57 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)
that lets me define the individual versions of *all* dependencies for *all* projects so that I can say, for example, use *this* version of commons-beanutils and *that* version of commons-digester to build ***all*** of the components that are going in to my overall exectable. I am *so* not interested in dealing with runtime exceptions because different dependent packages were compiled against different versions of the dependent libraries. Can someone please help me understand how to do this with Maven? Without it, I'm not planning to switch any of my personal or internal-to-Sun projects (even if the Struts committers decide to switch Struts development itself). This is actually pretty easy, if I understand you correctly. If you define the Maven property maven.jar.override to the value on, then when resolving dependencies, Maven will check each against a possibly defined override. For example, the version of Cactus that everyone else in Struts uses doesn't work on Mac OS X. The Cactus CVS head has the patch that works, so in my Struts/maven environment, I have this defined: maven.jar.override=on # patched version of cactus related to Mac OS X: # http://issues.apache.org/bugzilla/show_bug.cgi?id=25266i maven.jar.cactus-ant=1.6dev-2003-12-07 maven.jar.jakarta-cactus-framework=13-1.6dev You can use full paths to JARs as well as version numbers. This is detailed here: http://maven.apache.org/reference/user-guide.html#Overriding_Stated_Dependencies Properties are defined like so: (http://maven.apache.org/reference/user-guide.html#Properties_Processing): The properties files in Maven are processed in the following order: *${project.home}/project.properties * ${project.home}/build.properties * ${user.home}/build.properties Where the last definition wins. So, Maven moves through this sequence of properties files overridding any previously defined properties with newer definitions. In this sequence your ${user.home}/build.properties has the final say in the list of properties files processed. We will call the list of properties files that Maven processes the standard properties file set. In addition, System properties are processed after the above chain of properties files are processed. So, a property specified on the CLI using the -Dproperty=value convention will override any previous definition of that property. So if you wanted to have it universally, you'd define this in ${user.home}/build.properties but if it were just for a specific project, you'd define it in ${project.home}/build.properties Did I answer the right question? Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin
Re: [ANNOUNCE] Struts 1.2.0 Test Build available
I've built Struts 1.2.0 from the sources package uising maven 1.0RC1 without trouble. When I run maven site, the generated m-target/docs has no index.html and faqs, proposals, tiles and userGuide are empty directory. Is this a known build problem (waiting for update for an *official* release) ? Nico. Martin Cooper a écrit : The Struts 1.2.0 Test Build is now available here: http://www.apache.org/~martinc/struts/v1.2.0/ This is the first Struts build being made available following the same test-and-release process that has been used successfully by the Tomcat team for some time. It is *not* an official Apache release. Once feedback has been collected on the stability and general quality of this build, a determination will be made as to whether it should be promoted to Alpha status. -- Martin Cooper - 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]
Re: [ANNOUNCE] Struts 1.2.0 Test Build available
At 9:34 AM +0100 2/27/04, nicolas De Loof wrote: I've built Struts 1.2.0 from the sources package uising maven 1.0RC1 without trouble. When I run maven site, the generated m-target/docs has no index.html and faqs, proposals, tiles and userGuide are empty directory. Is this a known build problem (waiting for update for an *official* release) ? The energy for applying Maven to Struts has been focused on the build. I think a few people have looked at making it build the docs, but no one has really focused on it. I've also been pleased to be able to extend the main project.xml for struts-chain and struts-el to quickly bring Maven support to those. Maven is not the official build mechanism for Struts, and there's no guarantee that it will become such in the 1.x line. On the other hand, if folks make Maven do everything the current Ant build does, it might. Of course, the fact that Maven still hasn't seen a full 1.0 release does lend some support with keeping Ant the official way. For the docs, the main thing would be to eliminate any need to maintain dual documentation while the Ant build is still the official build. I think all current efforts have cloned the docs dir, and I've never tried to get maven:site to work against anything but the xdocs directory. If anyone knows the trick, patches are always happily accepted! Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] Struts 1.2.0 Test Build available
Andrew Hill [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ah I see. Its just the jars, tlds, dtds necessary for a struts app, sans docs. Yup, that's it exactly. We've actually been releasing a 'lib' version for a while now, for people who don't want to have to download the entire binary version, since the latter is getting a bit big. The description of that does seem to have fallen off the Acquiring page in the docs, though. ;-( Also, it's worth noting that, due to some great work from Ted, the 1.2.0 binary download is about 25% smaller than the 1.1 equivalent, since several of the sample web apps have been merged into one, thus demonstrating modules as well. -- Martin Cooper -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 13:52 To: Struts Users Mailing List Subject: RE: [ANNOUNCE] Struts 1.2.0 Test Build available Cool bananas! Many thanks to the struts team for all the work they have put into this build. :-) Whats the lib archive for? -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 13:48 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCE] Struts 1.2.0 Test Build available The Struts 1.2.0 Test Build is now available here: http://www.apache.org/~martinc/struts/v1.2.0/ This is the first Struts build being made available following the same test-and-release process that has been used successfully by the Tomcat team for some time. It is *not* an official Apache release. Once feedback has been collected on the stability and general quality of this build, a determination will be made as to whether it should be promoted to Alpha status. -- Martin Cooper - 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]
Re: [ANNOUNCE] Struts 1.2.0 Test Build available
nicolas De Loof [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've built Struts 1.2.0 from the sources package uising maven 1.0RC1 without trouble. When I run maven site, the generated m-target/docs has no index.html and faqs, proposals, tiles and userGuide are empty directory. Is this a known build problem (waiting for update for an *official* release) ? As Joe has already mentioned, the use of Maven to build various parts of Struts is an ongoing activity. All of the builds you see distributed from Jakarta (nightly, release, and this test build) are still built using Ant. Given that Maven still hasn't reached an official 1.0 release in almost 3 years of development, and given how stable and well-developed the Struts Ant build system is (it's just as capable as Maven of building the entire release, including docs, by issuing one command to a shell), I'm personally in no great rush to switch. ;-) That said, there are some intrepid Maven fans who are working on getting the Maven build for Struts to the same point as the Ant build system, so don't be surprised to see the issues you mention taken to heart and addressed before an official release of Maven! -- Martin Cooper Nico. Martin Cooper a écrit : The Struts 1.2.0 Test Build is now available here: http://www.apache.org/~martinc/struts/v1.2.0/ This is the first Struts build being made available following the same test-and-release process that has been used successfully by the Tomcat team for some time. It is *not* an official Apache release. Once feedback has been collected on the stability and general quality of this build, a determination will be made as to whether it should be promoted to Alpha status. -- Martin Cooper - 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]
Re: [ANNOUNCE] Struts 1.2.0 Test Build available
Oswald Campesato [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Martin Cooper [EMAIL PROTECTED] wrote: The Struts 1.2.0 Test Build is now available here: Excellent:) http://www.apache.org/~martinc/struts/v1.2.0/ This is the first Struts build being made available following the same test-and-release process that has been used successfully by the Tomcat team for some time. It is *not* an official Apache release. Once feedback has been collected on the stability and general quality of this build, a determination will be made as to whether it should be promoted to Alpha status. Is there a web page that describes the process by which feedback is collected? Just the usual mechanisms: * Bug reports: http://jakarta.apache.org/struts/using.html#Bugs * Feedback on the mailing lists. The former is preferred if you are sure there is a bug; the latter is where to speculate and ask questions. -- Martin Cooper Thanks, Oswald -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Get better spam protection with Yahoo! Mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] Struts 1.2.0 Test Build available
Given that Maven still hasn't reached an official 1.0 release in almost 3 years of development. hey, now... Struts 1.1 took a darn long time! I bet they're in the same boat. Plenty of people who don't really track version numbers are using it happily, so the urge to actually cut a release is not too strong. That said, there are some intrepid Maven fans who are working on getting the Maven build for Struts to the same point as the Ant build system My enthusiasm for Maven is all about lowering the barrier to entry. I think long-time Ant/Struts builders forget how tedious it is to set up the build.properties file. And that's just to compile; if you use an IDE you have another headache getting a Struts project set up. Anyway, no need to proselytize... Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)
Joe Germuska [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Given that Maven still hasn't reached an official 1.0 release in almost 3 years of development. hey, now... Struts 1.1 took a darn long time! I bet they're in the same boat. Plenty of people who don't really track version numbers are using it happily, so the urge to actually cut a release is not too strong. I'm not claiming we're angels, but we're doing a lot better than Maven is. ;-) From Struts 1.0.2 Final to Struts 1.1 Final took 1 year, 4 months. During that time, people still had a Final release to work with. Maven has been in development for almost *3* years, with *no* Final release to work with... That said, there are some intrepid Maven fans who are working on getting the Maven build for Struts to the same point as the Ant build system My enthusiasm for Maven is all about lowering the barrier to entry. I used to share that enthusiasm. It has faded over time, however, as it became apparent to me that, once you get past the easy part, writing preGoal and postGoal scripts isn't much different from writing Ant scripts. Oh, and Maven changing the way it does things didn't help either. ;-) I think long-time Ant/Struts builders forget how tedious it is to set up the build.properties file. And that's just to compile; if you use an IDE you have another headache getting a Struts project set up. That is certainly true. One of the things Maven does for you, to ease the build process, is decide where the dependencies are going to come from. If we did that in the Ant build files, it would make it almost as simple as Mave, but then, because they're Ant build files, people would complain that they were not sufficiently flexible. That makes it hard to win. ;-) (When it comes to IDEs, though, most of them know about Ant, but don't yet know about Maven at all, so there's not so much of a case for Maven there, IMHO.) -- Martin Cooper Anyway, no need to proselytize... Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)
At 11:19 AM -0800 2/27/04, Martin Cooper wrote: (When it comes to IDEs, though, most of them know about Ant, but don't yet know about Maven at all, so there's not so much of a case for Maven there, IMHO.) Since you added the OT to the subject line, I feel ok about dragging this on... the beauty of Maven and IDEs is that Maven generates the project for you, for JBuilder, Eclipse, or IDEA. Let's see your Ant do that! :-) Just kidding. Ant is great, and actually, I think the fact that extending Maven is basically like writing Ant is a feature, not a bug. Oh yeah, also I can't go back from having versioned JAR in my lib directories. I suspect that's a matter of taste too, but I'll take the overhead of pruning old JARs when new versions are deployed over the mystery of knowing which versions your apps depend on any day... Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jef Raskin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] Struts 1.2.0 Test Build available
Martin Cooper [EMAIL PROTECTED] wrote: The Struts 1.2.0 Test Build is now available here: Excellent:) http://www.apache.org/~martinc/struts/v1.2.0/ This is the first Struts build being made available following the same test-and-release process that has been used successfully by the Tomcat team for some time. It is *not* an official Apache release. Once feedback has been collected on the stability and general quality of this build, a determination will be made as to whether it should be promoted to Alpha status. Is there a web page that describes the process by which feedback is collected? Thanks, Oswald -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Get better spam protection with Yahoo! Mail
RE: [ANNOUNCE] Struts 1.2.0 Test Build available
Ah I see. Its just the jars, tlds, dtds necessary for a struts app, sans docs. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 13:52 To: Struts Users Mailing List Subject: RE: [ANNOUNCE] Struts 1.2.0 Test Build available Cool bananas! Many thanks to the struts team for all the work they have put into this build. :-) Whats the lib archive for? -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 13:48 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCE] Struts 1.2.0 Test Build available The Struts 1.2.0 Test Build is now available here: http://www.apache.org/~martinc/struts/v1.2.0/ This is the first Struts build being made available following the same test-and-release process that has been used successfully by the Tomcat team for some time. It is *not* an official Apache release. Once feedback has been collected on the stability and general quality of this build, a determination will be made as to whether it should be promoted to Alpha status. -- Martin Cooper - 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]
RE: [ANNOUNCE] Struts 1.2.0 Test Build available
Cool bananas! Many thanks to the struts team for all the work they have put into this build. :-) Whats the lib archive for? -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 13:48 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCE] Struts 1.2.0 Test Build available The Struts 1.2.0 Test Build is now available here: http://www.apache.org/~martinc/struts/v1.2.0/ This is the first Struts build being made available following the same test-and-release process that has been used successfully by the Tomcat team for some time. It is *not* an official Apache release. Once feedback has been collected on the stability and general quality of this build, a determination will be made as to whether it should be promoted to Alpha status. -- Martin Cooper - 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]
[ANNOUNCE] Struts 1.2.0 Test Build available
The Struts 1.2.0 Test Build is now available here: http://www.apache.org/~martinc/struts/v1.2.0/ This is the first Struts build being made available following the same test-and-release process that has been used successfully by the Tomcat team for some time. It is *not* an official Apache release. Once feedback has been collected on the stability and general quality of this build, a determination will be made as to whether it should be promoted to Alpha status. -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]