antlets/makeantlet/src xbuild.xml,1.4,1.5

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/antlets/makeantlet/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17699/makeantlet/src

Modified Files:
	xbuild.xml 
Log Message:
Working on pushing jars with scp.

Index: xbuild.xml
===================================================================
RCS file: /cvsroot/metamorphosis/antlets/makeantlet/src/xbuild.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** xbuild.xml	10 Feb 2004 07:53:11 -0000	1.4
--- xbuild.xml	10 Feb 2004 08:23:15 -0000	1.5
***************
*** 15,19 ****
          <mkdir dir="${makeantlet.antlet.namedbuild.dir}"/>
      </target>
!     <target name="makeantlet" depends="antlet-prep-makeantlet">
          <copy todir="${makeantlet.antlet.namedbuild.dir}">
              <fileset dir="${makeantlet.antlet.src.dir}">
--- 15,19 ----
          <mkdir dir="${makeantlet.antlet.namedbuild.dir}"/>
      </target>
!     <target name="make-antlet" depends="antlet-prep-makeantlet">
          <copy todir="${makeantlet.antlet.namedbuild.dir}">
              <fileset dir="${makeantlet.antlet.src.dir}">
***************
*** 25,29 ****
          </copy>
      </target>
!     <target name="install-antlet" depends="makeantlet" description="Install the antlet in ${ant.home}/tools/antlets">
          <copy todir="${antlet.dir}/${makeantlet.antlet.namedversion}/">
              <fileset dir="${makeantlet.antlet.namedbuild.dir}">
--- 25,29 ----
          </copy>
      </target>
!     <target name="install-antlet" depends="make-antlet" description="Install the antlet in ${ant.home}/tools/antlets">
          <copy todir="${antlet.dir}/${makeantlet.antlet.namedversion}/">
              <fileset dir="${makeantlet.antlet.namedbuild.dir}">
***************
*** 43,45 ****
--- 43,61 ----
          </copy>
      </target>
+     <target name="dist-antlet" depends="make-antlet">
+         <mkdir dir="dist"/>
+         <jar file="dist/${makeantlet.antlet.namedversion}.jar">
+             <fileset dir="${makeantlet.antlet.src.dir}/">
+                 <include name="**/*"/>
+             </fileset>
+         </jar>
+     </target>
+     <target name="push-antlet" depends="dist-antlet">
+         <!-- @description scp the antlet host  -->
+         <scp file="dist/${makeantlet.antlet.namedversion}.jar" 
+         todir="${makeantlet.antlet.user}@${makeantlet.antlet.host}:${makeantlet.antlet.remote.dir}"
+         password="${makeantlet.antlet.password}"
+         trust="true"
+         />
+     </target>
  </project>



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.