Re: Separate Lists for Wiki Commits?

2004-10-09 Thread Ted Husted
On Thu, 07 Oct 2004 00:36:38 -0400, Mike Kienenberger wrote:
 Most of the people on this list aren't committers.  What's wrong
 with giving the rest of us a choice if it costs you nothing?

I doubt that an automated solution is going to help much. If sublists posted to a 
master list, then replying is problematic. Cross-posting is a *huge* problem with 
project-management mailing lists and more lists breed more cross-posts.

One thing that might help would be to make better use of the existing Struts-Announce 
mailing list. When something worthwhile happens, someone could post a mention there. 
It's a moderated list, so any replies would have to go to @user or @dev. (Or some 
other forum that someone might want to setup with another host.)

-Ted.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: wrapping of POJO's with WrapDyanBean

2004-10-09 Thread Ted Husted
On Fri, 17 Sep 2004 10:43:58 -0500, Durham David R Jr Contr 805 CSPTS/SCE wrote:
On this subject, has anyone mentioned anything about conversion
utilities from Struts 1.x to Struts 2.0?  I'm thinking it would make
sense to design and develop these kinds of tools along side the
Struts 2.0 development.

Thanks for volunteering :)

-Ted.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ViewSVN (was Re: Conversion from CVS to Subversion Complete)

2004-10-09 Thread Ted Husted
(Returning after a four-week hiatus ...)

 http://svn.apache.org/viewcvs.cgi/struts/?root=Apache-SVN

{chuckling-out-loud}  Revision 54010

Boggles the mind ...

-Ted.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts, maven example projects

2004-10-09 Thread David Graham
One thing I like about Maven is that it has website generation built in. 
I also like being able to run 'maven clean dist' which outputs both the
binary and source distros in zip and tar.gz formats.  That being said, I
use Ant rather than Maven for all my non-Jakarta work.  Maven just doesn't
solve any problems that Ant can't solve just as easily.  Not to mention
the fact that Ant has never failed me but new Maven versions have always
broken at least one thing in the build.

Now that we're using Subversion which has a nice binary diff capability we
can store all of our dependency jars in a lib directory and not worry
about each developer downloading them and customizing the build to point
to their copies.  We wouldn't need any silly build.properties files.  IMO,
this is the single biggest pain when trying to build Struts especially
when you have 3 development machines you're switching between.

David

--- Craig McClanahan [EMAIL PROTECTED] wrote:

 This is a personal opinion only, subject to the views of the other
 committers, but I've gone from +0 to -0 on switching to Maven.  The
 one really important value add that I see, downloading dependencies
 automatically, can be crafted into an Ant script quite easily -- see,
 for example, the build.xml file you get from running maven ant --
 and customizing Maven build processes reminds me too much of the
 things I don't like about aspect oriented programming ... I can't look
 at the code and just see what's going to happen :-).
 
 That being said, we still have some work to do to make our build
 process both simpler and separable (for multiple sub-projects).  But
 I'd prefer to do it based on Ant scripts that are independently
 managed for each sub-project.
 
 I won't stand in the way of a migration to Maven if the other
 developers want to build and maintain the system ... but I'm
 personally going to generate build.xml files for the subprojects for
 my own personal use, and I'm gonna be unhappy if that doesn't work
 because of dramatically customized Maven builds.
 
 Crag
 
 
 
 On Sat, 09 Oct 2004 09:57:55 +0800, Nathan Coast [EMAIL PROTECTED]
 wrote:
  Hi,
  
  First question, am I right in assuming struts is migrating to maven as
  the build tool?
  
  A little while ago we announced a beta of a maven plug-in to assemble
  web-apps from multiple struts-module projects.
  
  http://www.codeczar.com/beta/maven-struts-module-plugin/
  
  For this release we migrated the struts example web-app to a new
  structure: http://www.codeczar.com/beta/struts-examples/structure.html
  
  We had some positive feedback on the plug-in, but none from the struts
  committers.  This plug-in may not be appropriate for every web-app but
  we feel that it provides benefits for complex multi-module web-apps.
  http://www.codeczar.com/beta/maven-struts-module-plugin/benefits.html
  
  As part of the migration to maven we'd like to see the examples
 web-app
  built by the struts module plug-in.  Is this likely?   If not, any
 ideas
  how we should improve the plug-in?  We'd like to develop something
 that
  is of real benefit to the community.
  
  cheers
  Nathan
  
  --
  Nathan Coast
  Managing Director
  codeczar ltd
  mobile: (852) 9049 5581
  email:  mailto:[EMAIL PROTECTED]
  web:http://www.codeczar.com
  
  -
  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]
 
 




___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: rev 54191 - in struts/trunk/struts-faces/core-library: . src/conf src/java src/test src/test/org src/test/org/apache src/test/org/apache/struts src/test/org/apache/struts/faces src/test/org/apache/struts/faces/util

2004-10-09 Thread craigmcc
Author: craigmcc
Date: Sat Oct  9 16:50:41 2004
New Revision: 54191

Added:
   struts/trunk/struts-faces/core-library/LICENSE.txt
  - copied unchanged from rev 54187, struts/trunk/struts-faces/LICENSE.txt
   struts/trunk/struts-faces/core-library/NOTICE.txt
  - copied unchanged from rev 54187, struts/trunk/struts-faces/NOTICE.txt
   struts/trunk/struts-faces/core-library/build.xml
  - copied, changed from rev 54187, struts/trunk/struts-faces/build.xml
   struts/trunk/struts-faces/core-library/src/conf/
  - copied from rev 54187, struts/trunk/struts-faces/src/conf/
   struts/trunk/struts-faces/core-library/src/java/
  - copied from rev 54187, struts/trunk/struts-faces/src/java/
   struts/trunk/struts-faces/core-library/src/test/
   struts/trunk/struts-faces/core-library/src/test/org/
   struts/trunk/struts-faces/core-library/src/test/org/apache/
   struts/trunk/struts-faces/core-library/src/test/org/apache/struts/
   struts/trunk/struts-faces/core-library/src/test/org/apache/struts/faces/
   struts/trunk/struts-faces/core-library/src/test/org/apache/struts/faces/util/
   
struts/trunk/struts-faces/core-library/src/test/org/apache/struts/faces/util/Bundle.properties
   
struts/trunk/struts-faces/core-library/src/test/org/apache/struts/faces/util/MessagesMapTestCase.java
Log:
Add a simple unit test for MessagesMap, primarily to verify the correct setup
of the build.xml file for the Struts-Faces Integration Library itself.


Copied: struts/trunk/struts-faces/core-library/build.xml (from rev 54187, 
struts/trunk/struts-faces/build.xml)
==
--- struts/trunk/struts-faces/build.xml (original)
+++ struts/trunk/struts-faces/core-library/build.xmlSat Oct  9 16:50:41 2004
@@ -14,26 +14,28 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 
+ $Id$
+
 --
 
 
-project name=jakarta-struts-faces default=compile basedir=.
+project name=Struts-Faces Core Library default=library basedir=.
 
 
-  !-- = Initialize Property Values === --
+  !-- = Initialize Property Values  --
 
 
   !-- Initialize property values --
   property file=build.properties/
+  property file=../build.properties/
   property file=../../build.properties/
-  property file=../../../build.properties/
   property file=${user.home}/build.properties/
 
 
   !-- Dependency home directory defaults --
-  property name=htmlunit.homevalue=/usr/local/htmlunit-1.2.3/
   property name=jsf.home value=/usr/local/jsf-1_1/
   property name=jstl.homevalue=/usr/local/standard-1.0.3/
+  property name=junit.home   value=/usr/local/junit-3.8.1/
   property name=server.home  value=/usr/local/jakarta-tomcat-5.0.25/
   property name=struts.home  value=/usr/local/jakarta-struts-1.1/
 
@@ -56,6 +58,7 @@
   property name=jsf-impl.jar value=${jsf.home}/lib/jsf-impl.jar/
   property name=jsp-api.jar  value=${server.home}/common/lib/jsp-api.jar/
   property name=jstl.jar value=${jstl.home}/lib/jstl.jar/
+  property name=junit.jarvalue=${junit.home}/junit.jar/
   property name=servlet.jar  value=${server.home}/common/lib/servlet.jar/
   property name=standard.jar value=${jstl.home}/lib/standard.jar/
   property name=struts.jar   value=${struts.home}/lib/struts.jar/
@@ -70,7 +73,7 @@
 classpath=${jsf-impl.jar}/
 
   !-- Build Defaults --
-  property name=build.home  value=${basedir}/build/
+  property name=build.home  value=${basedir}/target/
   property name=dist.home   value=${basedir}/dist/
   property name=project.namevalue=Struts-Faces Integration Library/
   property name=project.package value=org.apache.struts.faces/
@@ -83,8 +86,14 @@
   property name=compile.optimizevalue=true/
 
 
-  !-- Construct Classpath --
-  path id=classpath
+  !-- Unit Test Defaults --
+  property name=test.haltonerrorvalue=true/
+  property name=test.haltonfailure  value=true/
+  property name=test.runner value=junit.textui.TestRunner/
+
+
+  !-- Compile Classpath --
+  path id=compile.classpath
 pathelement location=${commons-beanutils.jar}/
 pathelement location=${commons-collections.jar}/
 pathelement location=${commons-digester.jar}/
@@ -98,93 +107,79 @@
 pathelement location=${build.home}/classes/
   /path
 
-  !-- System Integration Test Client Classpath --
-  path id=sysclient.classpath
+
+  !-- Test Classpath --
+  path id=test.classpath
+pathelement location=${commons-beanutils.jar}/
+pathelement location=${commons-collections.jar}/
+pathelement location=${commons-digester.jar}/
+pathelement location=${commons-logging.jar}/
+pathelement location=${commons-validator.jar}/
+pathelement location=${jsf-api.jar}/
+pathelement location=${jsp-api.jar}/
+pathelement 

svn commit: rev 54192 - in struts/trunk/struts-faces/src: conf java

2004-10-09 Thread craigmcc
Author: craigmcc
Date: Sat Oct  9 16:52:10 2004
New Revision: 54192

Removed:
   struts/trunk/struts-faces/src/conf/
   struts/trunk/struts-faces/src/java/
Log:
Move the src/java and src/conf hierarchies down one level,
to be under core-library.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: rev 54206 - in struts/trunk/struts-faces: example2-webapp example2-webapp/src example2-webapp/src/java example2-webapp/src/java/org example2-webapp/src/web example2-webapp/src/web/WEB-INF src/example2/org web/example2 web/example2/WEB-INF

2004-10-09 Thread craigmcc
Author: craigmcc
Date: Sat Oct  9 19:54:35 2004
New Revision: 54206

Added:
   struts/trunk/struts-faces/example2-webapp/
   struts/trunk/struts-faces/example2-webapp/build.xml
  - copied, changed from rev 54205, 
struts/trunk/struts-faces/example1-webapp/build.xml
   struts/trunk/struts-faces/example2-webapp/src/
   struts/trunk/struts-faces/example2-webapp/src/java/
   struts/trunk/struts-faces/example2-webapp/src/java/org/
  - copied from rev 54205, struts/trunk/struts-faces/src/example2/org/
   struts/trunk/struts-faces/example2-webapp/src/web/
   struts/trunk/struts-faces/example2-webapp/src/web/WEB-INF/
  - copied from rev 54205, struts/trunk/struts-faces/web/example2/WEB-INF/
   struts/trunk/struts-faces/example2-webapp/src/web/blank.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/blank.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/changePassword.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/changePassword.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/footer.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/footer.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/header.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/header.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/index.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/index.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/layout.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/layout.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/layout1.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/layout1.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/loggedoff.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/loggedoff.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/loggedon.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/loggedon.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/logon.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/logon.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/mainMenu.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/mainMenu.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/menu.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/menu.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/registration.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/registration.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/staticJavascript.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/staticJavascript.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/struts-power.gif
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/struts-power.gif
   struts/trunk/struts-faces/example2-webapp/src/web/stylesheet.css
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/stylesheet.css
   struts/trunk/struts-faces/example2-webapp/src/web/subscription.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/subscription.jsp
   struts/trunk/struts-faces/example2-webapp/src/web/tour.htm
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/tour.htm
   struts/trunk/struts-faces/example2-webapp/src/web/welcome.jsp
  - copied unchanged from rev 54205, 
struts/trunk/struts-faces/web/example2/welcome.jsp
Removed:
   struts/trunk/struts-faces/src/example2/org/
   struts/trunk/struts-faces/web/example2/WEB-INF/
   struts/trunk/struts-faces/web/example2/blank.jsp
   struts/trunk/struts-faces/web/example2/changePassword.jsp
   struts/trunk/struts-faces/web/example2/footer.jsp
   struts/trunk/struts-faces/web/example2/header.jsp
   struts/trunk/struts-faces/web/example2/index.jsp
   struts/trunk/struts-faces/web/example2/layout.jsp
   struts/trunk/struts-faces/web/example2/layout1.jsp
   struts/trunk/struts-faces/web/example2/loggedoff.jsp
   struts/trunk/struts-faces/web/example2/loggedon.jsp
   struts/trunk/struts-faces/web/example2/logon.jsp
   struts/trunk/struts-faces/web/example2/mainMenu.jsp
   struts/trunk/struts-faces/web/example2/menu.jsp
   struts/trunk/struts-faces/web/example2/registration.jsp
   struts/trunk/struts-faces/web/example2/staticJavascript.jsp
   struts/trunk/struts-faces/web/example2/struts-power.gif
   struts/trunk/struts-faces/web/example2/stylesheet.css
   struts/trunk/struts-faces/web/example2/subscription.jsp
   struts/trunk/struts-faces/web/example2/tour.htm
   struts/trunk/struts-faces/web/example2/welcome.jsp
Log:
Factor out example application #2.


Copied: 

svn commit: rev 54208 - in struts/trunk/struts-faces: src/sysclient/org sysclient-app sysclient-app/src sysclient-app/src/java sysclient-app/src/java/org sysclient-app/src/java/org/apache sysclient-app/src/java/org/apache/struts/faces/sysclient

2004-10-09 Thread craigmcc
Author: craigmcc
Date: Sat Oct  9 20:12:10 2004
New Revision: 54208

Added:
   struts/trunk/struts-faces/sysclient-app/
   struts/trunk/struts-faces/sysclient-app/build.xml
  - copied, changed from rev 54206, struts/trunk/struts-faces/build.xml
   struts/trunk/struts-faces/sysclient-app/src/
   struts/trunk/struts-faces/sysclient-app/src/java/
   struts/trunk/struts-faces/sysclient-app/src/java/org/
  - copied from rev 54206, struts/trunk/struts-faces/src/sysclient/org/
   struts/trunk/struts-faces/sysclient-app/src/java/org/apache/
  - copied from rev 54207, struts/trunk/struts-faces/src/sysclient/org/apache/
Removed:
   struts/trunk/struts-faces/src/sysclient/org/
Modified:
   
struts/trunk/struts-faces/sysclient-app/src/java/org/apache/struts/faces/sysclient/ContextTestCase.java
Log:
Refactor the system integration test client.


Copied: struts/trunk/struts-faces/sysclient-app/build.xml (from rev 54206, 
struts/trunk/struts-faces/build.xml)
==
--- struts/trunk/struts-faces/build.xml (original)
+++ struts/trunk/struts-faces/sysclient-app/build.xml   Sat Oct  9 20:12:10 2004
@@ -17,7 +17,7 @@
 --
 
 
-project name=jakarta-struts-faces default=compile basedir=.
+project name=Struts-Faces System Integration Test Client default=compile 
basedir=.
 
 
   !-- = Initialize Property Values === --
@@ -70,9 +70,8 @@
 classpath=${jsf-impl.jar}/
 
   !-- Build Defaults --
-  property name=build.home  value=${basedir}/build/
-  property name=dist.home   value=${basedir}/dist/
-  property name=project.namevalue=Struts-Faces Integration Library/
+  property name=build.home  value=${basedir}/target/
+  property name=project.namevalue=Struts-Faces System Integration Test 
Client/
   property name=project.package value=org.apache.struts.faces/
   property name=project.version value=1.0-dev/
 
@@ -103,23 +102,10 @@
 pathelement location=${junit.jar}/
 fileset  dir=${htmlunit.home}/lib
  includes=*.jar/
-pathelement location=${build.home}/sysclient/
+pathelement location=${build.home}/classes/
   /path
 
-  !-- Custom Tomcat Integration --
-  taskdef  name=deploy   classname=org.apache.catalina.ant.DeployTask/
-  taskdef  name=install  classname=org.apache.catalina.ant.InstallTask/
-  taskdef  name=list classname=org.apache.catalina.ant.ListTask/
-  taskdef  name=reload   classname=org.apache.catalina.ant.ReloadTask/
-  taskdef  name=remove   classname=org.apache.catalina.ant.RemoveTask/
-  taskdef  name=undeploy classname=org.apache.catalina.ant.UndeployTask/
-  property name=password value=tomcat/
-  property name=url  value=http://localhost:8080/manager/
-  property name=username value=tomcat/
-
-  property name=example.path value=/struts-faces/
-  property name=example2.pathvalue=/struts-faces2/
-  property name=systest.path value=/struts-faces-systest/
+  property name=systest.path value=/struts-faces-systest1/
 
 
   !-- System Integration Test Settings --
@@ -128,7 +114,7 @@
 
 
 
-  !-- = LIBRARY: Maintenance = --
+  !-- = Maintenance Targets = --
 
 
   target name=clean
@@ -152,39 +138,17 @@
   /target
 
 
-  target name=list description=List installed webapps on Tomcat
-list url=${url} username=${username} password=${password}/
-  /target
-
-
-  target name=prepare depends=init
-mkdir dir=${build.home}/
-mkdir dir=${build.home}/classes/
-mkdir dir=${build.home}/classes/META-INF/
-mkdir dir=${build.home}/conf/
-mkdir dir=${build.home}/lib/
-mkdir dir=${dist.home}/
-mkdir dir=${dist.home}/docs/
-mkdir dir=${dist.home}/docs/api/
-  /target
-
-
-  target name=static depends=prepare
-tstamp/
-copy todir=${build.home}/conf filtering=on
-  fileset dir=src/conf includes=*.MF/
-/copy
-copy todir=${build.home}/classes/META-INF
-  fileset dir=src/conf includes=*faces-config.xml/
-/copy
+  target name=static depends=init
+mkdirdir=${build.home}/
+mkdirdir=${build.home}/classes/
   /target
 
 
-  !-- == LIBRARY: Compile Library Components = --
+  !-- === Test Client Execution === --
 
 
   target name=compile depends=static
-   description=Compile integration library
+   description=Prepare system integration test client
 
 !-- Compile Java Sources --
 javac  srcdir=src/java
@@ -192,557 +156,12 @@
  debug=${compile.debug}
deprecation=${compile.deprecation}
   optimize=${compile.optimize}
-  classpath refid=classpath /
-/javac
-
-!-- Copy non-Java Sources --
-copytodir=${build.home}/classes
-  fileset dir=src/java
-exclude  name=**/*.java/
-  /fileset
-

svn commit: rev 54209 - struts/trunk/struts-faces/src

2004-10-09 Thread craigmcc
Author: craigmcc
Date: Sat Oct  9 20:13:11 2004
New Revision: 54209

Removed:
   struts/trunk/struts-faces/src/
Log:
Remove the now-obsolete original source directory.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: rev 54210 - in struts/trunk/struts-faces: . core-library

2004-10-09 Thread craigmcc
Author: craigmcc
Date: Sat Oct  9 20:51:47 2004
New Revision: 54210

Modified:
   struts/trunk/struts-faces/build.xml
   struts/trunk/struts-faces/core-library/build.xml
Log:
Update the top-level build.xml for Struts-Faces to delegate to the
appropriate submodules as needed to assemble the entire release artifact.


Modified: struts/trunk/struts-faces/build.xml
==
--- struts/trunk/struts-faces/build.xml (original)
+++ struts/trunk/struts-faces/build.xml Sat Oct  9 20:51:47 2004
@@ -14,10 +14,12 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 
+ $Id$
+
 --
 
 
-project name=jakarta-struts-faces default=compile basedir=.
+project name=Struts-Faces Integration Library default=compile basedir=.
 
 
   !-- = Initialize Property Values === --
@@ -28,806 +30,220 @@
   property file=../../build.properties/
   property file=../../../build.properties/
   property file=${user.home}/build.properties/
+  property name=dist.home value=${basedir}/dist/
 
-
-  !-- Dependency home directory defaults --
-  property name=htmlunit.homevalue=/usr/local/htmlunit-1.2.3/
-  property name=jsf.home value=/usr/local/jsf-1_1/
-  property name=jstl.homevalue=/usr/local/standard-1.0.3/
-  property name=server.home  value=/usr/local/jakarta-tomcat-5.0.25/
-  property name=struts.home  value=/usr/local/jakarta-struts-1.1/
-
-
-  !-- Dependency library defaults --
-  property name=commons-beanutils.jar
-value=${struts.home}/lib/commons-beanutils.jar/
-  property name=commons-collections.jar
-
value=${struts.home}/lib/commons-collections.jar/
-  property name=commons-digester.jar
-value=${struts.home}/lib/commons-digester.jar/
-  property name=commons-fileupload.jar
-
value=${struts.home}/lib/commons-fileupload.jar/
-  property name=commons-logging.jar
-value=${struts.home}/lib/commons-logging.jar/
-  property name=commons-validator.jar
-value=${struts.home}/lib/commons-validator.jar/
-  property name=jakarta-oro.jar  value=${struts.home}/lib/jakarta-oro.jar/
-  property name=jsf-api.jar  value=${jsf.home}/lib/jsf-api.jar/
-  property name=jsf-impl.jar value=${jsf.home}/lib/jsf-impl.jar/
-  property name=jsp-api.jar  value=${server.home}/common/lib/jsp-api.jar/
-  property name=jstl.jar value=${jstl.home}/lib/jstl.jar/
-  property name=servlet.jar  value=${server.home}/common/lib/servlet.jar/
-  property name=standard.jar value=${jstl.home}/lib/standard.jar/
-  property name=struts.jar   value=${struts.home}/lib/struts.jar/
-
-
-  !-- Conditional Processing Flags --
-  available property=jsfri.present
-classname=com.sun.faces.RIConstants
-classpath=${jsf-impl.jar}/
-  available property=myfaces.present
-classname=net.sourceforge.myfaces.MyFacesConfig
-classpath=${jsf-impl.jar}/
-
-  !-- Build Defaults --
-  property name=build.home  value=${basedir}/build/
-  property name=dist.home   value=${basedir}/dist/
-  property name=project.namevalue=Struts-Faces Integration Library/
-  property name=project.package value=org.apache.struts.faces/
-  property name=project.version value=1.0-dev/
-
-
-  !-- Compile Defaults --
-  property name=compile.debug   value=true/
-  property name=compile.deprecation value=false/
-  property name=compile.optimizevalue=true/
-
-
-  !-- Construct Classpath --
-  path id=classpath
-pathelement location=${commons-beanutils.jar}/
-pathelement location=${commons-collections.jar}/
-pathelement location=${commons-digester.jar}/
-pathelement location=${commons-logging.jar}/
-pathelement location=${commons-validator.jar}/
-pathelement location=${jsf-api.jar}/
-pathelement location=${jsp-api.jar}/
-pathelement location=${jstl.jar}/
-pathelement location=${servlet.jar}/
-pathelement location=${struts.jar}/
-pathelement location=${build.home}/classes/
-  /path
-
-  !-- System Integration Test Client Classpath --
-  path id=sysclient.classpath
-pathelement location=${junit.jar}/
-fileset  dir=${htmlunit.home}/lib
- includes=*.jar/
-pathelement location=${build.home}/sysclient/
-  /path
-
-  !-- Custom Tomcat Integration --
-  taskdef  name=deploy   classname=org.apache.catalina.ant.DeployTask/
-  taskdef  name=install  classname=org.apache.catalina.ant.InstallTask/
-  taskdef  name=list classname=org.apache.catalina.ant.ListTask/
-  taskdef  name=reload   classname=org.apache.catalina.ant.ReloadTask/
-  

Subversion Refactoring Frenzy and Maven Questions

2004-10-09 Thread Craig McClanahan
I've taken advantage of the new capabilities that Subversion provides
for refactoring, to set up struts-faces as a top-level subproject with
the ability to create its own release artifact.  Interestingly, this
subproject has four subsubprojects that provide its content as well,
so the top-level build.xml is set up to delegate as needed to assemble
the entire thing.  The directory structure is:

$STRUTS_HOME/
struts-faces/
build.xml-- top level build script
core-library/  -- subsubproject for the library itself
example1-webapp/   -- first sample webapp (non-Tiles)
example2-webapp/   -- second sample webapp (Tiles)
sysclient-app/  -- system integration test ... client side
systest1-webapp/-- system integration test ... server side

Each of the subsubprojects has its own build.xml to manage the details.

So far, this is all still Ant based.  While contemplating how we might
use Maven for it, I've got some questions I hope the Maven gurus can
address:

* My understanding is that Maven is easiest to use on
  projects that create a single artifact ... but I need to
  assemble that artifact from several subordinate artifacts.
  So, I guess we'll need some sort of multi-target support?

* The Ant scripts still use build.properties files for an important
  reason:  I need to be able to substitute alternative solutions
  for the dependencies:
  - Struts itself (1.1, 1.2, or trunk)
  - JSF implementation (RI or MyFaces)
  How can I do that with Maven?

* The build scripts utilize Ant's filtering tasks to modify the
  web.xml files based on which JSF implementation is used
  (as well as conditionally include some extra libraries that
  MyFaces needs but the JSF RI doesn't).  How can I
  do that with Maven?

* As the scripts work now, they include the source code in
  the same distribution as the binaries, so there's only one
  file for the user to download.  I'm OK with doing them
  separately, but it would be nice if Maven supported this
  style as well.

Craig

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]