krysalis-impus centibuild.xml,1.2,1.3 impus.iws,1.2,1.3 module.xml,1.2,1.3

[email protected] Tue, 18 Mar 2003 03:09:11 -0800
Newsgroups gmane.comp.krysalis.sandbox
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/krysalis-impus
In directory sc8-pr-cvs1:/tmp/cvs-serv21948

Modified Files:
	centibuild.xml impus.iws module.xml 
Log Message:
Some build file improvements and fixes.

Index: centibuild.xml
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-impus/centibuild.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** centibuild.xml	15 Mar 2003 14:29:28 -0000	1.2
--- centibuild.xml	18 Mar 2003 11:09:07 -0000	1.3
***************
*** 1,18 ****
  <?xml version="1.0"?>
  <project default="interactive" basedir="." name="Impus Test">
! 	
      <description>Impus</description>
  
  
      <taskdef resource="centipede"/>
!     <centipede/> 
!     
!     <importcent name="antidote"/> 
      <importcent name="java"/>
!     <!-- <importcent name="checkstyle"/> --> 
!     <importcent name="forrest"/> 
      <importcent name="gump"/>
!     <importcent name="javasrc"/> 
      <importcent name="junit"/>
  
  
--- 1,19 ----
  <?xml version="1.0"?>
  <project default="interactive" basedir="." name="Impus Test">
! 
      <description>Impus</description>
  
  
      <taskdef resource="centipede"/>
!     <centipede/>
! 
!     <importcent name="antidote"/>
      <importcent name="java"/>
!     <!-- <importcent name="checkstyle"/> -->
!     <importcent name="forrest"/>
      <importcent name="gump"/>
!     <importcent name="javasrc"/>
      <importcent name="junit"/>
+     <importcent name="sourceforge"/>
  
  
***************
*** 26,80 ****
      <target name="interactive" description="Interactive Build">
          <echo>
!         --------------------------------------------------------------
  
!                       ${xgump.module.name}  [${YEAR}]
  
!         --------------------------------------------------------------
!          Using ${ant.version}
!          Build file ${ant.file}
!         --------------------------------------------------------------
!          These are the most common build targets.
!          You can also invoke them directly; see build.xml for more info.
!          Builds will be in /build directory, distributions in /dist.
  
!          all -------------- creates the jars and the site
!          compile ---------- compiles the source code
!          test ------------- performs the jUnit tests
!          jar -------------- create the jar files
!          docs ------------- generates the html docs - clean not needed
!          javadocs --------- generates the API documentation
!          site ------------- generates the html site (docs+reports)
!          clean ------------ cleans the build directory
!          dist ------------- creates src and bin distributions
          </echo>
-         
-           <input
-              message="Please select a target "
-              addproperty="input.selection"
-           />
-          <condition property="do.abort">
-            <equals arg1="" arg2="input.selection" />
-          </condition>
-          <fail if="do.abort">Build aborted by user.</fail>
  
!         <!-- temporarily disabled because missing from beta 3 --> 
          <!-- <antrun target="splash"/> -->
          <antrun target="${input.selection}"/>
  
      </target>
!     
      <target name="all" depends="clean, code, docs, dist"/>
!     	
      <target name="code" depends="compile,test,package"/>
      <!--<target name="metrics" depends="checkstyle, report"/>-->
      <target name="docs" depends="report,javasrc,javadocs,site"/>
  
      <!-- ================================== -->
      <!--        Target used by Gump         -->
      <!-- ================================== -->
  
!     <target  name="gump" depends="compile,failsafe-test,docs" description="Target used by Gump">
      </target>
- 
  
  </project>
--- 27,123 ----
      <target name="interactive" description="Interactive Build">
          <echo>
!             --------------------------------------------------------------
  
!             ${xgump.module.name}  [${YEAR}]
  
!             --------------------------------------------------------------
!             Using ${ant.version}
!             Build file ${ant.file}
!             --------------------------------------------------------------
!             These are the most common build targets.
!             You can also invoke them directly; see build.xml for more info.
!             Builds will be in /build directory, distributions in /dist.
  
!             all -------------- creates the jars and the site
!             compile ---------- compiles the source code
!             test ------------- performs the jUnit tests
!             jar -------------- create the jar files
!             docs ------------- generates the html docs - clean not needed
!             javadocs --------- generates the API documentation
!             site ------------- generates the html site (docs+reports)
!             clean ------------ cleans the build directory
!             dist ------------- creates src and bin distributions
          </echo>
  
!         <input
!             message="Please select a target "
!             addproperty="input.selection"
!             />
!         <condition property="do.abort">
!             <equals arg1="" arg2="input.selection"/>
!         </condition>
!         <fail if="do.abort">Build aborted by user.</fail>
! 
!         <!-- temporarily disabled because missing from beta 3 -->
          <!-- <antrun target="splash"/> -->
          <antrun target="${input.selection}"/>
  
      </target>
! 
      <target name="all" depends="clean, code, docs, dist"/>
! 
      <target name="code" depends="compile,test,package"/>
      <!--<target name="metrics" depends="checkstyle, report"/>-->
      <target name="docs" depends="report,javasrc,javadocs,site"/>
  
+     <!--
+     This target uses putty to deploy the forrest website.  It is an
+     alternative to the deloysite target in the forrest cent which does
+     not work under windows.
+ 
+     To use this target you will need to install pscp, plink and pageant.
+     Pageant should be running with your private key added so that the
+     secured commands do not require user interaction (ie, a password).
+     -->
+     <target name="putty-deploysite" description="deploys the forrest site to windows">
+         <if>
+             <not>
+                 <isset property="deployer.username"/>
+             </not>
+             <then>
+                 <input addproperty="deployer.username">Please enter your username. (Define deployer.username to avoid getting this message).</input>
+             </then>
+         </if>
+         <property name="forrest.cent.site.work.dir" value="${forrest.cent.work.dir}/site/"/>
+         <delete dir="${forrest.cent.site.work.dir}"/>
+         <mkdir dir="${forrest.cent.site.work.dir}"/>
+ 
+         <property name="forrest.cent.site.tar.path.and.name" value="${forrest.cent.site.work.dir}/${project.name}-site"/>
+ 
+         <tar tarfile="${forrest.cent.site.tar.path.and.name}.tar" basedir="${forrest.cent.site.dir}"/>
+         <gzip zipfile="${forrest.cent.site.tar.path.and.name}.tar.gz" src="${forrest.cent.site.tar.path.and.name}.tar"/>
+         <delete file="${forrest.cent.site.tar.path.and.name}.tar"/>
+ 
+         <exec dir="${forrest.cent.site.work.dir}" executable="cmd.exe" vmlauncher="false">
+             <arg value="/c"/>
+             <arg value="pscp"/>
+             <arg value="${project.name}-site.tar.gz"/>
+             <arg value="${deployer.username}@${xgump.module.site.hostname}:${xgump.module.site.remotedir}"/>
+         </exec>
+ 
+         <exec dir="." executable="cmd.exe">
+             <arg line="/c plink -ssh -n ${xgump.module.site.hostname} -l ${deployer.username} 'cd ${xgump.module.site.remotedir};gunzip ${project.name}-site.tar.gz;tar xUvf ${project.name}-site.tar;chmod -R g+rwX *;rm ${project.name}-site.tar'"/>
+         </exec>
+ 
+         <delete file="${forrest.cent.site.tar.path.and.name}.tar.gz"/>
+ 
+     </target>
+ 
      <!-- ================================== -->
      <!--        Target used by Gump         -->
      <!-- ================================== -->
  
!     <target name="gump" depends="compile,failsafe-test,docs" description="Target used by Gump">
      </target>
  
  </project>

Index: impus.iws
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-impus/impus.iws,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** impus.iws	15 Mar 2003 14:29:28 -0000	1.2
--- impus.iws	18 Mar 2003 11:09:07 -0000	1.3
***************
*** 12,19 ****
    <component name="FileEditorManager">
      <history>
-       <source-position-entry url="file://$PROJECT_DIR$/src/test/org/krysalis/impus/InitializerTest.java" line="55" column="24" vertical-scroll-proportion="0.45046923" horizontal-scroll-proportion="0.1985294" />
        <source-position-entry url="file://$PROJECT_DIR$/status.xml" line="5" column="70" vertical-scroll-proportion="0.13235295" horizontal-scroll-proportion="0.57429355" />
!       <source-position-entry url="file://$PROJECT_DIR$/src/documentation/content/xdocs/book.xml" line="6" column="27" vertical-scroll-proportion="0.113089" horizontal-scroll-proportion="0.22151321" />
!       <source-position-entry url="file://$PROJECT_DIR$/centibuild.xml" line="7" column="5" vertical-scroll-proportion="0.13138686" horizontal-scroll-proportion="0.041020967" />
        <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/ASTUtil.java" line="131" column="10" vertical-scroll-proportion="0.5119917" horizontal-scroll-proportion="0.082720585" />
        <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/Initializer.java" line="332" column="10" vertical-scroll-proportion="0.5119917" horizontal-scroll-proportion="0.082720585" />
--- 12,17 ----
    <component name="FileEditorManager">
      <history>
        <source-position-entry url="file://$PROJECT_DIR$/status.xml" line="5" column="70" vertical-scroll-proportion="0.13235295" horizontal-scroll-proportion="0.57429355" />
!       <source-position-entry url="file://$PROJECT_DIR$/src/documentation/content/xdocs/book.xml" line="6" column="27" vertical-scroll-proportion="0.114528105" horizontal-scroll-proportion="0.22151321" />
        <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/ASTUtil.java" line="131" column="10" vertical-scroll-proportion="0.5119917" horizontal-scroll-proportion="0.082720585" />
        <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/Initializer.java" line="332" column="10" vertical-scroll-proportion="0.5119917" horizontal-scroll-proportion="0.082720585" />
***************
*** 22,41 ****
        <source-position-entry url="file://$PROJECT_DIR$/src/test/org/krysalis/impus/B.java" line="92" column="10" vertical-scroll-proportion="0.5307612" horizontal-scroll-proportion="0.082720585" />
        <source-position-entry url="file://$PROJECT_DIR$/src/test/org/krysalis/impus/C.java" line="59" column="41" vertical-scroll-proportion="0.47445256" horizontal-scroll-proportion="0.33637193" />
!       <source-position-entry url="file://$PROJECT_DIR$/src/documentation/content/xdocs/index.xml" line="19" column="52" vertical-scroll-proportion="0.3581152" horizontal-scroll-proportion="0.42661804" />
        <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/ImpusTokenTypes.java" line="4" column="17" vertical-scroll-proportion="0.075078204" horizontal-scroll-proportion="0.13947129" />
!       <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/parser.g" line="34" column="89" vertical-scroll-proportion="0.64083767" horizontal-scroll-proportion="0.7362132" />
!       <source-position-entry url="file://$PROJECT_DIR$/module.xml" line="65" column="45" vertical-scroll-proportion="0.62408376" horizontal-scroll-proportion="0.3691887" />
!       <source-position-entry url="file://$PROJECT_DIR$/properties.xml" line="11" column="41" vertical-scroll-proportion="0.20732984" horizontal-scroll-proportion="0.33637193" />
      </history>
      <open-files>
!       <source-position-entry url="file://$PROJECT_DIR$/src/documentation/content/xdocs/index.xml" line="19" column="52" vertical-scroll-proportion="0.3581152" horizontal-scroll-proportion="0.42661804" />
!       <source-position-entry url="file://$PROJECT_DIR$/properties.xml" line="11" column="41" vertical-scroll-proportion="0.20732984" horizontal-scroll-proportion="0.33637193" selected="true" />
!       <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/parser.g" line="34" column="89" vertical-scroll-proportion="0.64083767" horizontal-scroll-proportion="0.7362132" />
!       <source-position-entry url="file://$PROJECT_DIR$/module.xml" line="65" column="45" vertical-scroll-proportion="0.62408376" horizontal-scroll-proportion="0.3691887" />
!       <source-position-entry url="file://$PROJECT_DIR$/src/documentation/content/xdocs/book.xml" line="6" column="27" vertical-scroll-proportion="0.113089" horizontal-scroll-proportion="0.22151321" />
      </open-files>
    </component>
    <component name="ToolWindowManager">
!     <frame x="-4" y="-4" width="1608" height="1153" extended-state="7" />
      <editor active="true" />
      <layout>
--- 20,41 ----
        <source-position-entry url="file://$PROJECT_DIR$/src/test/org/krysalis/impus/B.java" line="92" column="10" vertical-scroll-proportion="0.5307612" horizontal-scroll-proportion="0.082720585" />
        <source-position-entry url="file://$PROJECT_DIR$/src/test/org/krysalis/impus/C.java" line="59" column="41" vertical-scroll-proportion="0.47445256" horizontal-scroll-proportion="0.33637193" />
!       <source-position-entry url="file://$PROJECT_DIR$/src/documentation/content/xdocs/index.xml" line="19" column="52" vertical-scroll-proportion="0.3552492" horizontal-scroll-proportion="0.42661804" />
        <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/ImpusTokenTypes.java" line="4" column="17" vertical-scroll-proportion="0.075078204" horizontal-scroll-proportion="0.13947129" />
!       <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/parser.g" line="34" column="89" vertical-scroll-proportion="0.63626724" horizontal-scroll-proportion="0.7362132" />
!       <source-position-entry url="file://$PROJECT_DIR$/properties.xml" line="11" column="41" vertical-scroll-proportion="0.20996818" horizontal-scroll-proportion="0.33637193" />
!       <source-position-entry url="file://$PROJECT_DIR$/sendfile.bat" line="1" column="0" vertical-scroll-proportion="0.019088017" horizontal-scroll-proportion="0.0" />
!       <source-position-entry url="file://$PROJECT_DIR$/module.xml" line="37" column="43" vertical-scroll-proportion="0.7062566" horizontal-scroll-proportion="0.3527803" />
!       <source-position-entry url="file://$PROJECT_DIR$/centibuild.xml" line="79" column="18" vertical-scroll-proportion="0.3478261" horizontal-scroll-proportion="0.14889705" />
      </history>
      <open-files>
!       <source-position-entry url="file://$PROJECT_DIR$/properties.xml" line="11" column="41" vertical-scroll-proportion="0.20996818" horizontal-scroll-proportion="0.33637193" />
!       <source-position-entry url="file://$PROJECT_DIR$/src/java/org/krysalis/impus/parser.g" line="34" column="89" vertical-scroll-proportion="0.63626724" horizontal-scroll-proportion="0.7362132" />
!       <source-position-entry url="file://$PROJECT_DIR$/module.xml" line="37" column="43" vertical-scroll-proportion="0.7062566" horizontal-scroll-proportion="0.3527803" />
!       <source-position-entry url="file://$PROJECT_DIR$/centibuild.xml" line="79" column="18" vertical-scroll-proportion="0.3478261" horizontal-scroll-proportion="0.14889705" selected="true" />
!       <source-position-entry url="file://$PROJECT_DIR$/sendfile.bat" line="1" column="0" vertical-scroll-proportion="0.019088017" horizontal-scroll-proportion="0.0" />
      </open-files>
    </component>
    <component name="ToolWindowManager">
!     <frame x="-4" y="-4" width="1608" height="1145" extended-state="6" />
      <editor active="true" />
      <layout>
***************
*** 276,289 ****
      <navigator currentView="ProjectPane" flattenPackages="true" showMembers="false" showStructure="true" autoscrollToSource="false" splitterProportion="0.5" />
      <view id="ProjectPane">
-       <expanded_node type="directory" url="file://$PROJECT_DIR$/src/java/org/krysalis/impus" />
-       <expanded_node type="directory" url="file://$PROJECT_DIR$/src/documentation/override" />
-       <expanded_node type="directory" url="file://$PROJECT_DIR$/src/documentation/content/xdocs" />
-       <expanded_node type="directory" url="file://$PROJECT_DIR$/src/documentation/resources" />
-       <expanded_node type="directory" url="file://$PROJECT_DIR$/src/documentation/content" />
-       <expanded_node type="directory" url="file://$PROJECT_DIR$/src" />
-       <expanded_node type="directory" url="file://$PROJECT_DIR$/src/documentation" />
        <expanded_node type="directory" url="file://$PROJECT_DIR$" />
-       <expanded_node type="directory" url="file://$PROJECT_DIR$/src/java" />
-       <expanded_node type="directory" url="file://$PROJECT_DIR$/src/documentation/resources/images" />
      </view>
      <view id="SourcepathPane" />
--- 276,280 ----

Index: module.xml
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-impus/module.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** module.xml	15 Mar 2003 14:29:28 -0000	1.2
--- module.xml	18 Mar 2003 11:09:07 -0000	1.3
***************
*** 4,18 ****
  
  
! <!--    <url href="http://www.krysalis.org/templates/krysalis-project"/>-->
  
! <!--    <site hostname="krysalis.sourceforge.net"-->
! <!--        remotedir="/home/groups/k/kr/krysalis/htdocs/templates/krysalis-project"/>-->
! <!---->
! <!---->
! <!--    <cvs repository="sourceforge"-->
! <!--        host-prefix="cvs.krysalis"-->
! <!--        dir="krysalis-project"-->
! <!--        module="krysalis-template"-->
! <!--        href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/krysalis/krysalis-template/krysalis-project"/>-->
  
      <jars repository="maven" 
--- 4,18 ----
  
  
!     <url href="http://metamorphosis.krysalis.org/krysalis-impus/"/>
  
!     <site hostname="metamorphosis.krysalis.org"
!         remotedir="/home/groups/m/me/metamorphosis/htdocs/krysalis-impus"/>
! 
! 
!     <cvs repository="sourceforge"
!         host-prefix="cvs.sourceforge.net"
!         dir="/cvsroot/metamorphosis"
!         module="krysalis-impus"
!         href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/metamorphosis/krysalis-impus/"/>
  
      <jars repository="maven" 




-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en