RE: Checkstyle cent version

"Manocha, Nikunj" <[email protected]> Thu, 13 Nov 2003 10:05:36 -0600
Newsgroups gmane.comp.krysalis.user
Message-ID <C34B80A4EF89E24491CBE1E50D047C642AB721@sghdqms03.global.ad.sabre.com>
HI All,
 
 
   I am setting up Centipede on another machine. While running I get the following error :
 
  Its looking for /usr/bin/env file. I checked the path to this file on this machine is /bin/env 
 
  What environment variable do I need to set or the property to override so that the correct path is used for looking up this file. 
 
Thanks for your help.
 
Nikunj
 
 
Searching for /usr/local/ci/views/atserdci/vobs/atserd/maincentibuild.xml ...
Buildfile: /usr/local/ci/views/atserdci/vobs/atserd/maincentibuild.xml
dropping /lib/servletclasses.zip from path as it doesn't exist
dropping /usr/tandem/nscorba/lib/ejb.jar from path as it doesn't exist
Initializing Centipede...
...Centipede started.
Building project Named:  atserd
Dependency sequence for project `atserd' is
bild.prop.file=atserd_new.properties
project.home=/usr/local/ci/views/atserdci/vobs/atserd
Duplicated project name in import. Project atserd defined first in /usr/local/ci/views/atserdci/vobs/atserd/maincentibuild.xml and again in /usr/local/ci/views/atserdci/vobs/atserd/build.xml
java.io.IOException: /usr/bin/env: not found
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java, Compiled Code)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java, Compiled Code)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java, Compiled Code)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java, Compiled Code)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java, Compiled Code)
        at org.apache.tools.ant.taskdefs.Execute.getProcEnvironment(Execute.java, Compiled Code)
        at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java, Compiled Code)
        at org.apache.tools.ant.taskdefs.Property.execute(Property.java, Compiled Code)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java, Compiled Code)
        at org.apache.tools.ant.Task.perform(Task.java, Compiled Code)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java, Compiled Code)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java, Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.start(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java, Compiled Code)
 
              * ===================================== *
              |   Krysalis Centipede Build System     |
              * ===================================== *
 
    --------------------------------------------------------------
 
      Using Apache Ant version 1.6alpha compiled on January 1 2003
      Build file /usr/local/ci/views/atserdci/vobs/atserd/maincentibuild.xml
      Centipede dir /usr/local/ci/metrics/centipede
      Build number 2
      Project Name atserd
      Java Version 1.3
      Timestamp ${clearcase.label}
 
    --------------------------------------------------------------
 
______________________________________________________________________________________________________________________