Jason van Zyl wrote:
> On Sun, 2002-08-11 at 18:58, Byron Foster wrote:
>
>>The link to download Maven on the jakarta site is broken at:
>>
>>http://jakarta.apache.org/turbine/maven/start/download.html
>
>
> Was fixed yesterday, I just republished the site. What's there now are
> test installs. When I announce beta-5 they will be updated again.
Thanks, I got the new Maven. However, With a fresh checkout of torque
I get the following errors when trying to build (I typed 'maven' at the
command line):
The junit jars along with the needed classes are in the repository, not
sure what the problem is.
---------------------------------------------------------------------------
__ __
| \/ |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-b5-dev
jakarta-turbine-torque (torque) 3.0-b4-dev
/home/bfoster/open/tclean
[available] DEPRECATED - <available> used to override an existing
property.
Build file should not reuse the same property name for different values.
[available] DEPRECATED - <available> used to override an existing
property.
Build file should not reuse the same property name for different values.
Getting: http://www.ibiblio.org/maven/non-distributable-jars.list
Not modified - so not downloaded
Getting:
http://www.ibiblio.org/maven/tomcat-naming/jars/tomcat-naming-1.0.jar
Error opening connection java.io.FileNotFoundException:
http://www.ibiblio.org/maven/tomcat-naming/jars/tomcat-naming-1.0.jar
Error opening connection java.io.FileNotFoundException:
http://www.ibiblio.org/maven/tomcat-naming/jars/tomcat-naming-1.0.jar
Error opening connection java.io.FileNotFoundException:
http://www.ibiblio.org/maven/tomcat-naming/jars/tomcat-naming-1.0.jar
Can't get
http://www.ibiblio.org/maven/tomcat-naming/jars/tomcat-naming-1.0.jar to
/home/bfoster/maven/repository/tomcat-naming/jars/tomcat-naming-1.0.jar
-------------------------------------------------
W A R N I N G
------------------------------------------------
Failed to download dependent file tomcat-naming-1.0.jar
java:prepare-filesystem:
[mkdir] Created dir: /home/bfoster/open/tclean/target/classes
java:compile:
[javac] Compiling 92 source files to
/home/bfoster/open/tclean/target/classes
[javac] [ERROR] Note:
/home/bfoster/open/tclean/src/java/org/apache/torque/Torque.java uses or
overrides a deprecated API.
[javac] [ERROR] Note: Recompile with -deprecation for details.
[copy] Copying 1 file to
/home/bfoster/open/tclean/target/classes/org/apache/torque/engine/database/transform
[copy] Copying 1 file to
/home/bfoster/open/tclean/target/classes/org/apache/torque
[copy] Copying 190 files to /home/bfoster/open/tclean/target/classes
java:jar-resources:
test:prepare-filesystem:
[mkdir] Created dir: /home/bfoster/open/tclean/target/test-classes
[mkdir] Created dir: /home/bfoster/open/tclean/target/test-reports
test:compile:
[javac] Compiling 4 source files to
/home/bfoster/open/tclean/target/test-classes
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/engine/database/model/NameFactoryTest.java:61:
package junit.framework does not exist
[javac] [ERROR] import junit.framework.Test;
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/engine/database/model/NameFactoryTest.java:62:
package junit.framework does not exist
[javac] [ERROR] import junit.framework.TestSuite;
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/BaseTestCase.java:57:
package junit.framework does not exist
[javac] [ERROR] import junit.framework.TestCase;
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/BaseTestCase.java:67:
cannot resolve symbol
[javac] [ERROR] symbol : class TestCase
[javac] [ERROR] location: class org.apache.torque.BaseTestCase
[javac] [ERROR] public abstract class BaseTestCase extends TestCase
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/engine/database/model/NameFactoryTest.java:157:
cannot resolve symbol
[javac] [ERROR] symbol : class Test
[javac] [ERROR] location: class
org.apache.torque.engine.database.model.NameFactoryTest
[javac] [ERROR] public static Test suite()
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:59:
package junit.framework does not exist
[javac] [ERROR] import junit.framework.Assert;
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:60:
package junit.framework does not exist
[javac] [ERROR] import junit.framework.TestCase;
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:68:
cannot resolve symbol
[javac] [ERROR] symbol : class TestCase
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] public class NumberKeyTest extends TestCase
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:57:
package junit.framework does not exist
[javac] [ERROR] import junit.framework.Test;
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:58:
package junit.framework does not exist
[javac] [ERROR] import junit.framework.TestSuite;
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/BaseTestCase.java:110:
cannot resolve symbol
[javac] [ERROR] symbol : method fail (java.lang.String)
[javac] [ERROR] location: class org.apache.torque.BaseTestCase
[javac] [ERROR] fail("Couldn't initialize
Torque: " + e.getMessage());
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/engine/database/model/NameFactoryTest.java:159:
cannot resolve symbol
[javac] [ERROR] symbol : class TestSuite
[javac] [ERROR] location: class
org.apache.torque.engine.database.model.NameFactoryTest
[javac] [ERROR] TestSuite suite = new TestSuite();
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/engine/database/model/NameFactoryTest.java:159:
cannot resolve symbol
[javac] [ERROR] symbol : class TestSuite
[javac] [ERROR] location: class
org.apache.torque.engine.database.model.NameFactoryTest
[javac] [ERROR] TestSuite suite = new TestSuite();
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/engine/database/model/NameFactoryTest.java:188:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String,java.lang.String)
[javac] [ERROR] location: class
org.apache.torque.engine.database.model.NameFactoryTest
[javac] [ERROR] assertEquals("Algorithm " + algo +
" failed to generate an " +
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:88:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(n1a.equals(n1a));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:93:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(n1a.equals(n1b));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:94:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(n1b.equals(n1a));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:96:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(!"1".equals(n1a));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:103:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(!n1a.equals("1"));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:109:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(!n1a.equals(new Integer(1)));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:110:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(!new Integer(1).equals(n1a));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:115:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(n1a.equals(n1b));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:116:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(n1b.equals(n1c));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:117:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(n1c.equals(n1a));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:122:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertTrue(!n1a.equals(null));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:130:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertEquals(n1a, array[0]);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:131:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertEquals(n1b, array[1]);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/om/NumberKeyTest.java:132:
cannot resolve symbol
[javac] [ERROR] symbol : variable Assert
[javac] [ERROR] location: class org.apache.torque.om.NumberKeyTest
[javac] [ERROR] Assert.assertEquals(n2a, array[2]);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:112:
cannot resolve symbol
[javac] [ERROR] symbol : method assertTrue (boolean)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertTrue(c.containsKey(table, column));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:115:
cannot resolve symbol
[javac] [ERROR] symbol : method assertTrue (boolean)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertTrue(c.getString(table,
column).equals(value));
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:152:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals(expect,result);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:167:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals(expect,result);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:181:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals(crit2.getTable(),tables[0]);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:182:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals(crit3.getTable(),tables[1]);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:183:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals(crit4.getTable(),tables[2]);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:184:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals(crit5.getTable(),tables[3]);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:187:
cannot resolve symbol
[javac] [ERROR] symbol : method assertTrue (boolean)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertTrue(crit2.hashCode() ==
crit2.hashCode());
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:188:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR]
assertEquals(crit2.toString(),crit2.toString());
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:208:
cannot resolve symbol
[javac] [ERROR] symbol : method fail (java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] fail("TorqueException thrown in
BasePeer.createQueryString()");
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:211:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals(expect,result);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:243:
cannot resolve symbol
[javac] [ERROR] symbol : method fail (java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] fail("TorqueException thrown in
BasePeer.createQueryString()");
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:246:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals(expect,result);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:263:
cannot resolve symbol
[javac] [ERROR] symbol : method fail (java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] fail("TorqueException thrown in
BasePeer.createQueryString()");
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:266:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals(expect,result);
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:282:
cannot resolve symbol
[javac] [ERROR] symbol : method fail (java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] fail("Exception thrown in DBFactory");
[javac] [ERROR] ^
[javac] [ERROR]
/home/bfoster/open/tclean/src/test/org/apache/torque/util/CriteriaTest.java:285:
cannot resolve symbol
[javac] [ERROR] symbol : method assertEquals
(java.lang.String,java.lang.String)
[javac] [ERROR] location: class org.apache.torque.util.CriteriaTest
[javac] [ERROR] assertEquals("TABLE.COLUMN=true",
cc.toString());
[javac] [ERROR] ^
[javac] [ERROR] 46 errors
[ERROR] BUILD FAILED
[ERROR] File......
/home/bfoster/maven/plugins/maven-test-plugin-1.0/plugin.jelly
[ERROR] Element... javac
[ERROR] Line...... 26
[ERROR] Column.... 46
[ERROR] Compile failed; see the compiler error output for details.
Total time: 30 seconds
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>