You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2001/11/20 05:52:32 UTC

cvs commit: jakarta-jetspeed/build build.xml

taylor      01/11/19 20:52:32

  Modified:    build    build.xml
  Log:
  - added deploy task that simply 'hot deploys' the class files to the webapp directory of your webserver.
    this is useful during development. This task will not copy the 'webapp' files such as psml, templates.
  
  Revision  Changes    Path
  1.107     +16 -0     jakarta-jetspeed/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/build/build.xml,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -u -r1.106 -r1.107
  --- build.xml	2001/11/02 04:05:39	1.106
  +++ build.xml	2001/11/20 04:52:32	1.107
  @@ -460,6 +460,22 @@
               </fileset>
           </copy>       
       </target>    
  +
  +    <!-- =================================================================== -->
  +    <!-- Installs JetSpeed on a local server                                  -->
  +    <!-- =================================================================== -->
  +    <target name="deploy"  depends="compile" description="Hot deploys Jetspeed on a local server">        
  +        <copy todir="${install.war}/jetspeed/WEB-INF/classes">
  +            <fileset dir="${build.dest.dir}">
  +                <!-- Do not include test files in the runtime jar -->
  +                 <exclude name="**/Test*.*"/>
  +                 <exclude name="**/test*.*"/>
  +
  +                <!-- Also exclude the test cactus.properties file -->
  +                <exclude name="cactus.properties"/>
  +            </fileset>
  +        </copy>       
  +    </target>    
              
       <!-- =================================================================== -->
       <!-- Creates a binary release war file with javadocs API                 -->
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-jetspeed/build build.xml

Posted by David Sean Taylor <da...@bluesunrise.com>.
This task only copies the classes. It doesnt attempt to copy the webapp or
any jarfiles.
Its useful for me during dev.  I prefer ant tasks that are short and simple
to remember. Thats why I chose 'deploy'. Names like 'install_all' and
'install_classes' get too long for my taste (imo)

----- Original Message -----
From: "Paul Spencer" <pa...@apache.org>
To: "Jetspeed Developers List" <je...@jakarta.apache.org>
Sent: Tuesday, November 20, 2001 7:17 AM
Subject: Re: cvs commit: jakarta-jetspeed/build build.xml


> Their already is a "install" task that copies classes and jars to the
> webserver.  Is their a reason to have both the "install" and "deploy"
> tasks?  If so, then pick similar names, i.e. "install_all" and
> "install_classes"
>
> What about "install_war"?
>
> Paul Spencer
>
> taylor@apache.org wrote:
>
> > taylor      01/11/19 20:52:32
> >
> >   Modified:    build    build.xml
> >   Log:
> >   - added deploy task that simply 'hot deploys' the class files to the
webapp directory of your webserver.
> >     this is useful during development. This task will not copy the
'webapp' files such as psml, templates.
> >
> >   Revision  Changes    Path
> >   1.107     +16 -0     jakarta-jetspeed/build/build.xml
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-jetspeed/build build.xml

Posted by Paul Spencer <pa...@apache.org>.
Their already is a "install" task that copies classes and jars to the 
webserver.  Is their a reason to have both the "install" and "deploy" 
tasks?  If so, then pick similar names, i.e. "install_all" and 
"install_classes"

What about "install_war"?

Paul Spencer

taylor@apache.org wrote:

> taylor      01/11/19 20:52:32
> 
>   Modified:    build    build.xml
>   Log:
>   - added deploy task that simply 'hot deploys' the class files to the webapp directory of your webserver.
>     this is useful during development. This task will not copy the 'webapp' files such as psml, templates.
>   
>   Revision  Changes    Path
>   1.107     +16 -0     jakarta-jetspeed/build/build.xml
>   



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>