Changeset 15356

Show
Ignore:
Timestamp:
07.05.2008 15:58:52 (11 years ago)
Author:
oranfry
Message:

a few fixes to wirk3

Location:
release-kits/wirk3
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • release-kits/wirk3/ant-scripts/create-installer.xml

    r15053 r15356  
    1919    <target name="setup-for-installer-creation"> 
    2020        <if><bool><istrue value="${execute}"/></bool> 
    21  
     21             
    2222            <echo>Project Path: ${project.path}</echo> 
    2323            <mkdir dir="${basedir}/installer"/> 
    2424            <copy todir="${basedir}/installer" file="${wirk3.home}/installer/antinstall-config.xml"/> 
     25            <copy todir="${basedir}/installer" file="${wirk3.home}/installer/build.xml"/> 
     26            <copy todir="${basedir}/installer/cp"><fileset dir="${wirk3.home}/installer/cp"/></copy> 
     27             
     28            <!-- put the concrete values of things in the config --> 
    2529            <rsr file="${basedir}/installer/antinstall-config.xml" pattern="@version@" replacement="${version}"/> 
     30            <rsr file="${basedir}/installer/build.xml" pattern="@version@" replacement="${version}"/> 
     31                                     
     32            <!-- put the concrete values of things in the text --> 
     33            <!-- default --> 
     34            <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@version@" replacement="${version}"/> 
     35            <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@java.min.version@" replacement="${java.min.version}"/> 
     36            <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@bundled.version.java@" replacement="${bundled.version.java}"/> 
     37            <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@bundled.version.tomcat@" replacement="${bundled.version.tomcat}"/> 
     38            <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@bundled.version.ant@" replacement="${bundled.version.ant}"/> 
     39             
     40            <!-- chinese --> 
     41            <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@version@" replacement="${version}"/> 
     42            <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@java.min.version@" replacement="${java.min.version}"/> 
     43            <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.java@" replacement="${bundled.version.java}"/> 
     44            <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.tomcat@" replacement="${bundled.version.tomcat}"/> 
     45            <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.ant@" replacement="${bundled.version.ant}"/> 
     46             
    2647             
    2748        </if> 
     
    3152        <if><bool><istrue value="${execute}"/></bool> 
    3253 
     54            <taskdef name="installer" classname="org.tp23.antinstaller.taskdefs.Installer" classpathref="project.classpath"/>  
     55             
    3356            <installer file="${basedir}/installer/greenstone-${version}-win32.jar" 
    3457                    compress="true" 
     
    4164                    icons="bluecurve"> 
    4265 
    43                 <zipfileset dir="${project.installer.path}/cp" includes="resources/*"/> 
     66                <zipfileset dir="${basedir}/installer/cp" includes="resources/*"/> 
    4467                <zipfileset dir="${wirk3.home}/ant-scripts/tasks/orans"><include name="RegexSearchReplace.class"/></zipfileset> 
    4568 
     
    5578                <zipfileset dir="${project.path}/winutil" prefix="winutil"><include name="**/*"/></zipfileset> 
    5679                <zipfileset dir="${project.path}/src" prefix="src"><include name="**/*"/></zipfileset> 
     80 
    5781            </installer> 
     82 
    5883             
    5984        </if> 
  • release-kits/wirk3/ant-scripts/init.xml

    r15181 r15356  
    2424        <!-- antinstaller --> 
    2525        <pathelement path="${wirk3.home}/bin/ant-installer/lib/ant-installer-ext.jar"/> 
     26        <pathelement path="${wirk3.home}/bin/ant-installer/lib/ant-installer.jar"/> 
    2627         
    2728    </path> 
     
    4142    <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" classpathref="project.classpath"/> 
    4243    <taskdef name="setloglevel" classname="SetLogLevel" classpathref="project.classpath"/> 
    43     <taskdef name="installer" classname="org.tp23.antinstaller.taskdefs.Installer" classpathref="project.classpath"/>  
    44      
    4544    <typedef name="addressedcall" classname="TreeCallTarget" classpathref="project.classpath"/> 
    4645    <typedef name="rsr" classname="RegexSearchReplace" classpathref="project.classpath"/> 
     
    4948    <!-- load in static properties from build.properties --> 
    5049    <property file="build.properties" /> 
     50     
     51    <!-- the version numbers of bundled things --> 
     52    <property name="bundled.version.java" value="1.6.0_05"/> 
     53    <property name="bundled.version.tomcat" value="5.5.25"/> 
     54    <property name="bundled.version.ant" value="1.6.5"/> 
    5155 
    5256    <!-- project details (for ant-installer) --> 
  • release-kits/wirk3/installer/antinstall-config.xml

    r15146 r15356  
    11<?xml version="1.0" encoding="UTF-8"?> 
    22<!DOCTYPE installer PUBLIC "-//tp23 //DTD Ant Installer Config//EN" "http://antinstaller.sf.net/dtd/antinstall-config-0.8.dtd"> 
     3 
    34<installer 
    45            ui="swing,text" 
     
    67            debug="false" 
    78            lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel" 
    8             name="Greenstone3Installer" 
    9             windowIcon="/resources/gkmain_inv.png" 
     9            name="Greenstone3 @version@ Installer" 
     10            windowIcon="/resources/gs3-small.png" 
    1011            defaultImageResource="/resources/makewavesdawn.png" 
    1112            minJavaVersion="1.4"> 
    1213 
    13     <!--  each page element represents a page of the installer --> 
    14     <page 
    15             type="input" 
    16             name="intro" 
    17             displayText="Welcome to the Greenstone3 installer"> 
     14    <!--  simple intro page --> 
     15    <page type="input" name="intro" displayText=""> 
     16        <comment name="welcome-message"/> 
    1817    </page> 
    1918 
    2019    <!--  type="license" shows a license page to click through --> 
    21     <page 
    22             type="license" 
    23             name="license" 
    24             displayText="License conditions" 
    25             resource="/LICENSE.txt"> 
    26     </page> 
     20    <page type="license" name="license" resource="/LICENSE.txt"  displayText="" /> 
    2721 
    28     <!--  type="input" shows a list of editable options for the installer --> 
    29     <page 
    30             type="input" 
    31             name="destination" 
    32             displayText="Install Destination"> 
     22    <!--  install destination page --> 
     23    <page type="input" name="destination" displayText=""> 
    3324 
    34         <directory 
    35                 property="installDir" 
    36                 defaultValue="/usr/local/Greenstone-@version@" 
    37                 defaultValueWin="${env.ProgramFiles}\Greenstone-@version@" 
    38                 displayText="Select an installation directory" 
    39                 create="true"/> 
     25        <directory property="installDir" 
     26            defaultValue="/usr/local/Greenstone-@version@" 
     27            defaultValueWin="${env.ProgramFiles}\Greenstone-@version@" 
     28            create="true" 
     29            displayText="" /> 
    4030 
    4131    </page> 
    4232 
    43     <page type="input" name="tomcatports" displayText="Tomcat Ports"> 
     33    <page type="input" name="selector" displayText=""> 
    4434 
    45         <comment name="tomcatportsdescription" displayText="Please select the ports which the web server (Apache Tomcat) will use  will use. It is usually safe to accept the defaults by just clicking Next. The exception is when you are running other services on these ports - if this is the case, select some free ports and click Next."/> 
     35        <comment name="choose-components"/> 
    4636 
    47         <text property="tomcat.server" defaultValue="localhost" displayText="Tomcat Server"/> 
    48         <text property="tomcat.port" defaultValue="8080" displayText="Tomcat Port"/> 
    49         <text property="tomcat.shutdown.port" defaultValue="8005" displayText="Tomcat Shutdown Port"/> 
     37        <target target="install-core-components"    defaultValue="true" force="true" displayText="" /> 
     38        <target target="install-tomcat"             defaultValue="true" displayText="" /> 
     39        <target target="install-ant"                    defaultValue="true" displayText="" /> 
     40        <target target="install-source-code"        defaultValue="false" displayText="" /> 
     41 
    5042    </page> 
    5143 
     44    <page type="input" name="tomcat-config" ifProperty="(${install-tomcat}==true)" displayText=""> 
    5245 
    53     <page 
    54             type="input" 
    55             name="selector" 
    56             displayText="Components to install"> 
    57         <comment 
    58                 name="choosecomponents" 
    59                 displayText="Choose the components you want to install" 
    60                 bold="true"/> 
    61         <target 
    62             displayText="Core components" 
    63             target="default" 
    64             defaultValue="true" 
    65             force="true"/> 
    66          
    67         <target 
    68             displayText="Source code" 
    69             target="tgsrc" 
    70             defaultValue="false"/> 
    71          
     46        <text property="tomcat.server" defaultValue="localhost" displayText=""/> 
     47        <text property="tomcat.port" defaultValue="8080" displayText=""/> 
     48        <text property="tomcat.shutdown.port" defaultValue="8005" displayText=""/> 
     49 
    7250    </page> 
    7351 
    74     <page 
    75             type="progress" 
    76             name="progress" 
    77             displayText="Installation progress" 
    78             showTargets="false" 
    79             target="cleanuptarget"> 
     52    <page type="progress" name="progress" showTargets="false" target="cleanuptarget" displayText=""> 
    8053    </page> 
    8154 
  • release-kits/wirk3/installer/build.xml

    r15146 r15356  
    2323     
    2424     
    25     <target name="default" depends=""> 
     25    <target name="install-core-components"> 
    2626 
    2727        <!-- create the installation directory --> 
     
    5757        <echo/> 
    5858 
     59        <!-- 
    5960        <echo message="Installing Packages (packages)"/> 
    6061        <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="packages/**/*"/></patternset></unzip> 
    6162        <echo/> 
     63        --> 
    6264 
    6365        <echo message="Installing Resources (resources)"/> 
     
    8890        <rsr file="${installDir}/build.properties" pattern="(tomcat.port[=:]).*" replacement="$1${tomcat.port}" /> 
    8991        <rsr file="${installDir}/build.properties" pattern="(tomcat.shutdown.port[=:]).*" replacement="$1${tomcat.shutdown.port}" /> 
     92        <echo message="Changing tomcat ports in resources/tomcat/server.xml"/> 
     93        <copy file="${installDir}/resources/tomcat/server.xml" tofile="${installDir.local}/packages/tomcat/conf/server.xml" overwrite="true"/> 
    9094 
    91         <!-- change the tomcat ports in tomcats server.xml --> 
    92         <echo message="Changing tomcat ports tomcat's server.xml"/> 
    93         <copy file="${installDir}/resources/tomcat/server.xml" tofile="${installDir.local}/packages/tomcat/conf/server.xml" overwrite="true"/> 
    94         <rsr file="${installDir}/packages/tomcat/conf/server.xml" pattern="@server@" replacement="${tomcat.server}" /> 
    95         <rsr file="${installDir}/packages/tomcat/conf/server.xml" pattern="@port@" replacement="${tomcat.port}" /> 
    96         <rsr file="${installDir}/packages/tomcat/conf/server.xml" pattern="@shutdown-port@" replacement="${tomcat.shutdown.port}" /> 
    97          
    9895        <!-- copy the greenstone3.xml file to tomcat --> 
    9996        <echo message="Copying greenstone3.xml to tomcat directory"/> 
     
    132129 
    133130    <!-- Source --> 
    134     <target name="tgsrc" depends=""> 
     131    <target name="install-source-code"> 
    135132        <echo message="Installing Source Code (src)"/> 
    136133        <mkdir dir="${installDir}/src"/> 
     
    142139    </target> 
    143140 
     141    <target name="install-tomcat"> 
     142         
     143        <echo message="Installing Apache Tomcat"/> 
     144        <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="packages/tomcat/**/*"/></patternset></unzip> 
     145 
     146        <!-- change the tomcat ports in tomcats server.xml --> 
     147        <rsr file="${installDir}/packages/tomcat/conf/server.xml" pattern="@server@" replacement="${tomcat.server}" /> 
     148        <rsr file="${installDir}/packages/tomcat/conf/server.xml" pattern="@port@" replacement="${tomcat.port}" /> 
     149        <rsr file="${installDir}/packages/tomcat/conf/server.xml" pattern="@shutdown-port@" replacement="${tomcat.shutdown.port}" /> 
     150 
     151    </target> 
     152    <target name="install-ant"> 
     153        <echo message="Installing Apache Ant"/> 
     154        <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="packages/ant/**/*"/></patternset></unzip> 
     155    </target> 
     156     
    144157    <target name="cleanuptarget"> 
    145158    </target> 
  • release-kits/wirk3/src/wirk3.cpp

    r15095 r15356  
    2626    string WIRK3_HOME = getenv( "WIRK3_HOME" ); 
    2727    //string PWD = getenv( "CD" ); 
     28 
     29    //get the pwd 
     30    string pwd; 
     31    system( "CD > cd.dat" ); 
     32    ifstream file( "cd.dat" ) ; 
     33    getline(file, pwd); 
     34    file.close(); 
     35    system( "del cd.dat" ); 
     36     
    2837     
    2938    //set the classpath 
    30     classpath = JAVA_HOME + "\\lib\\tools.jar;" + WIRK3_HOME + "\\lib\\serializer.jar;" + WIRK3_HOME + "\\lib\\xalan.jar;" + WIRK3_HOME + "\\lib\\xercesImpl.jar;" + WIRK3_HOME + "\\lib\\xml-apis.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-antlr.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-bcel.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-bsf.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-log4j.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-oro.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-regexp.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-resolver.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-commons-logging.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-commons-net.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-icontract.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-jai.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-javamail.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-jdepend.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-jmf.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-jsch.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-junit.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-launcher.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-netrexx.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-nodeps.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-starteam.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-stylebook.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-swing.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-trax.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-vaj.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-weblogic.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-xalan1.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-xslp.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\xercesImpl.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\xml-apis.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-amaranth.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-bluecurve.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-crystalsvg.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-eclipse.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-krystaline.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ant-installer-ext.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ant-installer.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\jgoodies-edited-1_2_2.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\xercesImpl.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\xml-apis.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\classes"; 
     39    classpath = pwd + "\\installer\\cp;" + JAVA_HOME + "\\lib\\tools.jar;" + WIRK3_HOME + "\\lib\\serializer.jar;" + WIRK3_HOME + "\\lib\\xalan.jar;" + WIRK3_HOME + "\\lib\\xercesImpl.jar;" + WIRK3_HOME + "\\lib\\xml-apis.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-antlr.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-bcel.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-bsf.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-log4j.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-oro.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-regexp.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-apache-resolver.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-commons-logging.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-commons-net.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-icontract.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-jai.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-javamail.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-jdepend.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-jmf.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-jsch.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-junit.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-launcher.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-netrexx.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-nodeps.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-starteam.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-stylebook.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-swing.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-trax.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-vaj.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-weblogic.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-xalan1.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\ant-xslp.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\xercesImpl.jar;" + WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\lib\\xml-apis.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-amaranth.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-bluecurve.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-crystalsvg.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-eclipse.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ai-icons-krystaline.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ant-installer-ext.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\ant-installer.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\jgoodies-edited-1_2_2.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\xercesImpl.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\lib\\xml-apis.jar;" + WIRK3_HOME + "\\bin\\ant-installer\\classes"; 
    3140    putenv( ("CLASSPATH=" + classpath).c_str() ); 
    3241 
     
    3746    //create the command 
    3847    command = WIRK3_HOME + "\\bin\\apache-ant-1.6.5\\bin\\ant.bat -f " + WIRK3_HOME + "\\ant-scripts\\build.xml -Dwirk3.home=" + WIRK3_HOME; 
    39      
    4048    //pass on the arguments 
    4149    string a; 
     
    7078 
    7179    } 
    72     //get the pwd 
    73     string pwd; 
    74     system( "CD > cd.dat" ); 
    75     ifstream file( "cd.dat" ) ; 
    76     getline(file, pwd); 
    77     file.close(); 
    78     system( "del cd.dat" ); 
    79     replace_all( pwd, "\\", "/" ); 
     80 
     81     
     82    //use forward slashes for everything else 
     83    //replace_all( pwd, "\\", "/" ); 
    8084     
    8185    //set the basedir in the command 
    8286    command = command + " -Dbasedir="; 
    8387    command = command + pwd; 
     88 
     89 
     90     
    8491    //command = command + "."; 
    8592