ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Srikrishna_Parthasara...@timeinc.com>
Subject Regarding CVSROOT defined as system variable
Date Wed, 04 Jan 2006 17:09:04 GMT
The following works initially 

<project name="cc-build" default="build" basedir=".">

  

  <target name="build">

     

    <delete dir="jinxweb" />

     <cvs cvsRoot=":ext:srikrishnap@cvs.timeinc.com:/cvsroot"

       package="jinxweb"

       dest="."

      />

   <ant antfile="build.xml" dir="jinxweb/jinxweb" />

  </target>

 

 

</project>

 

But after defining CVSROOT , it I am getting the below mentioned
exception.

My system variable contains.

 

":ext:srikrishnap@cvs.timeinc.com:/cvsroot"

 

After removing CVSROOT, I thought it would work but still same
exceptions.

 

Can you please help ?

 

 

 

C:\cvssource>ant -verbose -f  cc-build.xml

<project name="cc-build" default="build" basedir=".">

  

  <target name="build">

     

    <delete dir="jinxweb" />

      <cvs command="co jinxweb" dest="."/>

 

   <ant antfile="build.xml" dir="jinxweb/jinxweb" />

  </target>

 

 

</project>

 

 

Apache Ant version 1.6.2 compiled on July 16 2004

 

 

 

Buildfile: cc-build.xml

Detected Java version: 1.4 in: C:\bea\jdk142_05\jre

Detected OS: Windows XP

parsing buildfile C:\cvssource\cc-build.xml with URI =
file:///C:/cvssource/cc-b

uild.xml

Project base dir set to: C:\cvssource

Build sequence for target `build' is [build]

Complete build sequence is [build, ]

 

  [delete] Deleting
C:\cvssource\jinxweb\jinxweb\web\message\CVS\Entries.Old

  [delete] Deleting
C:\cvssource\jinxweb\jinxweb\web\message\CVS\Repository

  [delete] Deleting C:\cvssource\jinxweb\jinxweb\web\message\CVS\Root

  [delete] Deleting directory
C:\cvssource\jinxweb\jinxweb\web\message\CVS

  [delete] Deleting C:\cvssource\jinxweb\jinxweb\web\message\index.html

  [delete] Deleting
C:\cvssource\jinxweb\jinxweb\web\message\linkmenu.html

  [delete] Deleting C:\cvssource\jinxweb\jinxweb\web\message\main.html

  [delete] Deleting
C:\cvssource\jinxweb\jinxweb\web\message\messagestage.html

  [delete] Deleting directory C:\cvssource\jinxweb\jinxweb\web\message

 

UILD FAILED

:\cvssource\cc-buildcvsroot.xml:5: Unable to delete directory
C:\cvssource\jinx

eb

       at
org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:607)

       at
org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:587)

       at
org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:587)

       at
org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:587)

       at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:498)

       at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

       at org.apache.tools.ant.Task.perform(Task.java:364)

       at org.apache.tools.ant.Target.execute(Target.java:341)

       at org.apache.tools.ant.Target.performTasks(Target.java:369)

       at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

       at org.apache.tools.ant.Project.executeTargets(Project.java:1062)

       at org.apache.tools.ant.Main.runBuild(Main.java:673)

       at org.apache.tools.ant.Main.startAnt(Main.java:188)

       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)

       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message