ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20839] New: - I get an error "Target `' does not exist in this project.". What's going on?
Date Tue, 17 Jun 2003 15:31:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20839>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20839

I get an error "Target `' does not exist in this project.". What's going on?   

           Summary: I get an error "Target `' does not exist in this
                    project.". What's going on?
           Product: Ant
           Version: 1.5.3
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: martinezm@telecomsys.com


I have been running ant for about 2 months and suddenly today I get this (old) 
error described in the Ant FAQ:
/export/build/build_util/Ant/bin/ant  -verbose  -Dpackage_tar_revision=1_7 -
Drestart_ear -buildfile build.xml > build.out

Target `build.xml' does not exist in this project. 
        at org.apache.tools.ant.Project.tsort(Project.java:1751)
        at org.apache.tools.ant.Project.topoSort(Project.java:1673)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1332)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
However:
ls -l: 
-rw-r--r--   1 build    cvs            0 Jun 17 10:39 build.out
-rw-r--r--   1 build    cvs        25044 Jun 17 10:24 build.xml
-rw-r--r--   1 build    cvs         7905 Jun 13 14:49 build_ear.xml
-rw-r--r--   1 build    cvs        23713 Jun 13 10:45 build_info.xml
-rw-r--r--   1 build    cvs        10432 Jun 17 09:20 build_jar.xml
-rw-r--r--   1 build    cvs         5704 Jun 11 08:22 build_tar.xml
-rw-r--r--   1 build    cvs         6215 Jun 10 09:51 build_war.xml
drwxr-xr-x   3 build    cvs          512 May  7 12:59 filter_source
drwxr-xr-x   3 build    cvs         1024 Jun 11 20:08 perl_script

I am running on Solaris 2.7  X86

I changed ant in /export/build/build_util/Ant/bin as the FAQ specified, but got 
the same results.

However, when I removed: $@ from the ... org.apache.tools.ant.Main lines, it 
ran -- but without runtime arguments.

My account setup:
venus(~build) $ grep build /etc/passwd
build:x:1003:1011::/export/build:/usr/bin/bash
newbuild:x:4015:1011:New Production Builds 
User:/export/home/newbuild:/opt/gnu/bin/bash
autobuild:x:5055:1011:Automatic Build 
Account:/export/home/autobuild:/opt/gnu/bin/bash
venus(~build) $ ls -l /usr/bin/bash
-rwxr-xr-x   1 manningr 4000     3127044 Nov 30  1998 /usr/bin/bash
venus(~build) $ ls -l /opt/gnu/bin/bash
-rwxr-xr-x   1 root     4000     3127044 Nov 30  1998 /opt/gnu/bin/bash

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message