R
Rob
Let me preface by saying I know nothing about Java development, I'm trying
to convert some shell scripts over to ANT and have a question. I've used
ANT for all of about two hours, thus I know nothing about ANT either .
This example works:
<?xml version="1.0"?>
<project name="RobTest" default="main" basedir="/home/deployer/rob_test">
<property name="destination" value="/home/deployer/rob_test"/>
<property name="application" value="BUILDTEST"/>
<cvs cvsRoot="server:username[email protected]:/cvs"
package="${application}"
dest="${destination}"
/>
</project>
This example does not (note that application.txt contains the text BUILDTEST
with no carriage return afterwards.
<?xml version="1.0"?>
<project name="RobTest" default="main" basedir="/home/deployer/rob_test">
<loadfile property="application" srcFile="application.txt"/>
<property name="destination" value="/home/deployer/rob_test"/>
<cvs cvsRoot="server:username[email protected]:/cvs"
package="${application}"
dest="${destination}"
/>
</project>
The resulting error is:
[cvs] Using cvs passfile: /home/deployer/.cvspass
[cvs] cvs server: cannot find module `BUILDTEST
[cvs] ' - ignored
[cvs] cvs [checkout aborted]: cannot expand modules
What simple thing am I missing . Thanks!
to convert some shell scripts over to ANT and have a question. I've used
ANT for all of about two hours, thus I know nothing about ANT either .
This example works:
<?xml version="1.0"?>
<project name="RobTest" default="main" basedir="/home/deployer/rob_test">
<property name="destination" value="/home/deployer/rob_test"/>
<property name="application" value="BUILDTEST"/>
<cvs cvsRoot="server:username[email protected]:/cvs"
package="${application}"
dest="${destination}"
/>
</project>
This example does not (note that application.txt contains the text BUILDTEST
with no carriage return afterwards.
<?xml version="1.0"?>
<project name="RobTest" default="main" basedir="/home/deployer/rob_test">
<loadfile property="application" srcFile="application.txt"/>
<property name="destination" value="/home/deployer/rob_test"/>
<cvs cvsRoot="server:username[email protected]:/cvs"
package="${application}"
dest="${destination}"
/>
</project>
The resulting error is:
[cvs] Using cvs passfile: /home/deployer/.cvspass
[cvs] cvs server: cannot find module `BUILDTEST
[cvs] ' - ignored
[cvs] cvs [checkout aborted]: cannot expand modules
What simple thing am I missing . Thanks!