By the way.  Thanks for doing this!!



--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]




----- Original Message ----- From: "Apache Wiki" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, April 25, 2005 3:36 PM
Subject: [Struts Wiki] Update of "StrutsMaintenanceMaven" by NiallPemberton



Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.

The following page has been changed by NiallPemberton:
http://wiki.apache.org/struts/StrutsMaintenanceMaven

New page:
The purpose of this way is to provide help on the new maven build thats been/being put in place for Struts 1.3.x onwards.


== 1. Maven Setup ==
There are two additional plugins required which are not provided with the maven distribution


=== 1.1 Cactus Plugin ===

Download the latest jar (currently cactus-maven-1.7.jar - ''April 2005'') from [http://www.ibiblio.org/maven/cactus/plugins/ ibilio] and drop it in the "plugins" directory in your "maven home". Further instructions on the [http://jakarta.apache.org/cactus/integration/maven/installing.html Cactus] site.

=== 1.2 Findbugs Plugin ===
From the command line...

{{{
$maven -DartifactId=maven-findbugs-plugin -DgroupId=maven-plugins -Dversion=0.8.4 plugin:download
}}}


== 2. Checkout Source from Subversion ==
Checkout Struts using the "current" thing - no sure what it is - some kind
of Subversion "view" which allows you to grab all the "trunk" versions of
the components - this is the url for it....

  https://svn.apache.org/repos/asf/struts/current/

Say you put it in a directory called c:\svn\struts\current - then you will
see the following directories...
{{{
 \apps
 \bsf
 \build
 \core
 \el
 \faces
 \flow
 \plugins
 \sandbox
 \shale
 \taglib
 \tiles
}}}

== 3. Properties ==
The taglib subproject needs a build.properties file which contains the location of Tomcat for running cactus tests.


Go to the \taglib directory and create a ''build.properties'' file by copying the ''build.properties.sample'' thats already in there. Modify the following lines to point to the location of Tomcat 5 on your local machine...
{{{
cactus.home.tomcat5x =D:/cygwin/home/jmitchell/apache_home/jakarta-tomcat-5.0.28
tomcat.home = D:/cygwin/home/jmitchell/apache_home/jakarta-tomcat-5.0.28
}}}


== 4. Maven Targets ==

=== 4.1 Building Everything ===
Go to the \build directory and run command
{{{
     $maven build-all
}}}
There is also a command for "cleaning up" everything
{{{
     $maven clean-all
}}}

=== 4.2 Building Subproject ===
Go to the subproject directory (e.g. \tiles) and run command
{{{
     $maven dist
}}}
The equivalent command for cleaning...
{{{
     $maven clean
}}}

---------------------------------------------------------------------
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]



Reply via email to