attached is the build.xml file as well as the logfile that contains the errors.
-----Original Message----- From: Robin Green [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2000 4:57 PM To: [EMAIL PROTECTED] Subject: Re: dependencies during compilation Bryan Galligan wrote: >i am having problems with a file depending on another file but the other >file depends on that file as well. I am using two separate targets to >compile the two files and have tried every combination possible to get it >to >compile and have had no luck. previously i used a batch file and in it >compiled one and then the next and it seemed to work, but with ant there >seems to be problems. anyone know of any ways around this. thanks > >bryan Could you please provide more detail to help us solve the problem? 1) Please paste in your build.xml 2) What happens when you run ant? Do you get any error message(s), or is it just that no .class files appear? ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
build.xml
Description: Binary data
Buildfile: e:\build.xml
Project base dir set to: E:\
Executing Target: init
Executing Target: prepare
Executing Target: compile1
Compiling 9 source files to E:\build
E:\pmr\BaseConnection.java:50: Undefined variable or class name: Utility
Utility.log("LDAP Host = " + HOST);
^
E:\pmr\BaseConnection.java:54: Undefined variable or class name: Utility
Utility.logError("Could not initialize ldap
administrator class");
^
E:\pmr\BaseConnection.java:74: Undefined variable or class name: Utility
Utility.logError("Couldn't be connected to Database:
Datasource object is null");
^
E:\pmr\BaseConnection.java:80: Undefined variable or class name: Utility
Utility.logError("Couldn't be connected to Database:
Connection object is null");
^
E:\pmr\BaseConnection.java:87: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while trying to connect to
database");
^
E:\pmr\BaseConnection.java:91: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while lookup for dataase");
^
E:\pmr\BaseConnection.java:117: Undefined variable or class name: Utility
Utility.logError("Couldn't connect to Database: Datasource
object is null");
^
E:\pmr\BaseConnection.java:124: Undefined variable or class name: Utility
Utility.logError("Couldn't be connected to Database:
Connection object is null");
^
E:\pmr\BaseConnection.java:132: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while trying to connect to
database");
^
E:\pmr\BaseConnection.java:136: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while lookup for
database");
^
E:\pmr\BaseConnection.java:150: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while closing Statement
object");
^
E:\pmr\BaseConnection.java:158: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while closing Connection
object");
^
E:\pmr\BaseConnection.java:169: Undefined variable or class name: Utility
Utility.logError("Could not run query. Connection to database
failed");
^
E:\pmr\BaseConnection.java:174: Undefined variable or class name: Utility
Utility.logError("Statement object is null");
^
E:\pmr\BaseConnection.java:182: Undefined variable or class name: Utility
Utility.logError(e, "Exception Caught while running query");
^
E:\pmr\BaseConnection.java:205: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while lookup RowSet");
^
E:\pmr\BaseConnection.java:209: Undefined variable or class name: Utility
Utility.logError(e, "Unable to set rowSet value in
BaseConnection");
^
E:\pmr\BaseConnection.java:221: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while trying to connect
to database");
^
E:\pmr\BaseConnection.java:250: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while looking up RowSet");
^
E:\pmr\BaseConnection.java:255: Undefined variable or class name: Utility
Utility.logError(e, "Unable to set rowSet value in
BaseConnection");
^
E:\pmr\BaseConnection.java:269: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught while trying to connect
to database");
^
E:\pmr\BaseConnection.java:324: Undefined variable or class name: Utility
Utility.logError("Could not run update. No connection to
database");
^
E:\pmr\BaseConnection.java:331: Undefined variable or class name: Utility
Utility.logError(e, "Caught exception while trying to commit");
^
E:\pmr\BaseConnection.java:338: Undefined variable or class name: Utility
Utility.logError("Could not run update. No connection to
database");
^
E:\pmr\BaseConnection.java:344: Undefined variable or class name: Utility
Utility.logError(e, "Caught exception while trying to rollback");
^
E:\pmr\BaseConnection.java:356: Undefined variable or class name: Utility
Utility.logError(e, "Could not connect to LDAP");
^
E:\pmr\BaseServlet.java:142: Undefined variable or class name: Utility
Utility.logError(e, "Exception caught in showPage() (for Page =
" + page + ")");
^
E:\pmr\MultiRecordLDAPObject.java:114: Undefined variable or class name: Utility
Utility.logError("MultiRecordLDAPObject::next(): error: " +
e.getMessage());
^
28 errors
BUILD FATAL ERROR: Compile failed, messages should have been provided.
