You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@locus.apache.org on 2000/06/12 00:38:32 UTC
cvs commit: jakarta-struts README build.xml
craigmcc 00/06/11 15:38:32
Modified: . README build.xml
Log:
Update the "dist" target to put the two web applications that are created
into directory "webapps" rather than "lib". Update the README file to
reflect where these files can be found.
Revision Changes Path
1.2 +5 -5 jakarta-struts/README
Index: README
===================================================================
RCS file: /home/cvs/jakarta-struts/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README 2000/05/31 22:28:09 1.1
+++ README 2000/06/11 22:38:32 1.2
@@ -1,4 +1,4 @@
-$Id: README,v 1.1 2000/05/31 22:28:09 craigmcc Exp $
+$Id: README,v 1.2 2000/06/11 22:38:32 craigmcc Exp $
Struts
======
@@ -107,8 +107,8 @@
Struts comes with a web application that contains all of the documentation
relevant to a developer (that is, it will when the docs are written :-). To
-view this documentation, deploy it on your servlet container, and use a
-web browser to access a URL like this:
+view this documentation, deploy the file "webapps/struts-documentation.war"
+into your servlet container, and use a web browser to access a URL like this:
http://localhost:8080/struts-documentation
@@ -129,8 +129,8 @@
and the source code to the Java classes in directory "src/example". The
source code to the Struts components themselves is in directory "src/share".
-To run the example application, deploy it on your servlet container, and use
-a web browser to access a URL like this:
+To run the example application, deploy the file "webaps/struts-example.war"
+into your servlet container, and use a web browser to access a URL like this:
http://localhost:8080/struts-example
1.4 +3 -2 jakarta-struts/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/build.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- build.xml 2000/06/02 22:26:25 1.3
+++ build.xml 2000/06/11 22:38:32 1.4
@@ -42,6 +42,7 @@
<mkdir dir="${dist.home}/lib"/>
<mkdir dir="${dist.home}/src"/>
<mkdir dir="${dist.home}/web"/>
+ <mkdir dir="${dist.home}/webapps"/>
</target>
<!-- BUILD: Compile library directory components -->
@@ -108,13 +109,13 @@
<!-- DIST: Construct documentation distributables -->
<target name="dist.documentation"
depends="dist.library,compile.documentation,compile.javadoc">
- <jar jarfile="${dist.home}/lib/${app.name}-documentation.war"
+ <jar jarfile="${dist.home}/webapps/${app.name}-documentation.war"
basedir="${build.home}/documentation"/>
</target>
<!-- DIST: Construct example distributables -->
<target name="dist.example" depends="dist.library,compile.example">
- <jar jarfile="${dist.home}/lib/${app.name}-example.war"
+ <jar jarfile="${dist.home}/webapps/${app.name}-example.war"
basedir="${build.home}/example"/>
</target>