pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccp999 <ccp...@hotmail.com>
Subject Build issue with Java 1.6 in OSX
Date Sat, 29 Sep 2012 04:01:43 GMT
Hi,

I was able to build pivot from Eclipse until recently since September 2012
with latest sync.  And error message says I don't have org.junit but I do
have

<http://apache-pivot-users.399431.n3.nabble.com/file/n4022157/Screen_Shot_2012-09-29_at_11.59.35_AM.png>


and I followed the link to setup:

https://cwiki.apache.org/PIVOT/platform-developer-info.html


Buildfile: /Users/ccp999/git/pivot/build.xml
clean:
environment-info:
     [echo] Compile environment for pivot-2.1.0 is:
     [echo] show deprecation true
     [echo] debug true
     [echo] source 1.6, target 1.6
     [echo] encoding UTF-8
     [echo] indexJars true
     [echo] arg -Xlint
     [echo] OS: Mac OS X, version 10.7.5, architecture x86_64
     [echo] Java: home at
'/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home', version
1.6.0_35, vendor Apple Inc.
core:
    [mkdir] Created dir: /Users/ccp999/git/pivot/core/ant-bin
    [javac] Compiling 134 source files to
/Users/ccp999/git/pivot/core/ant-bin
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/beans/test/BeanAdapterTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/beans/test/BeanAdapterTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/beans/test/BeanAdapterTest.java:20:
package org.junit does not exist
    [javac] import static org.junit.Assert.fail;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/beans/test/BeanAdapterTest.java:20:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.fail;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/beans/test/BeanAdapterTest.java:31:
package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/beans/test/BeanAdapterTest.java:32:
package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/beans/test/BeanAdapterTest.java:33:
package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/beans/test/BeanAdapterTest.java:34:
package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/beans/test/BeanAdapterTest.java:35:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/ArrayListTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/ArrayListTest.java:24:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/EnumListTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/EnumListTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/EnumListTest.java:22:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/EnumMapTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/EnumMapTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/EnumMapTest.java:20:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/EnumMapTest.java:20:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/EnumMapTest.java:23:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:20:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:20:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:21:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertFalse;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:21:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertFalse;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:22:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertNotNull;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:22:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNotNull;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:23:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertNull;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:23:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNull;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:24:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:24:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:25:
package org.junit does not exist
    [javac] import static org.junit.Assert.fail;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:25:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.fail;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:34:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashSetTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/HashSetTest.java:24:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/LinkedListTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/LinkedListTest.java:28:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/QueueTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/QueueTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/QueueTest.java:26:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/StackTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/StackTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/StackTest.java:24:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/SynchronizedQueueTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/SynchronizedQueueTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/SynchronizedQueueTest.java:27:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/SynchronizedStackTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/SynchronizedStackTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/collections/test/SynchronizedStackTest.java:27:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/json/test/BindTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/json/test/BindTest.java:32:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/json/test/JSONSerializerTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/json/test/JSONSerializerTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/json/test/JSONSerializerTest.java:20:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertFalse;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/json/test/JSONSerializerTest.java:20:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertFalse;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/json/test/JSONSerializerTest.java:21:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/json/test/JSONSerializerTest.java:21:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/json/test/JSONSerializerTest.java:32:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/BinarySerializerTest.java:24:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/BinarySerializerTest.java:26:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertArrayEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/BinarySerializerTest.java:26:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertArrayEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/BinarySerializerTest.java:27:
package org.junit does not exist
    [javac] import static org.junit.Assert.fail;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/BinarySerializerTest.java:27:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.fail;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/ByteArraySerializerTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertNotNull;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/ByteArraySerializerTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNotNull;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/ByteArraySerializerTest.java:20:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/ByteArraySerializerTest.java:20:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/ByteArraySerializerTest.java:29:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/CSVSerializerTest.java:31:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/CSVSerializerTest.java:33:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/CSVSerializerTest.java:33:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertNotNull;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNotNull;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java:20:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java:20:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/PropertiesSerializerTest.java:31:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/StringSerializerTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/StringSerializerTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/StringSerializerTest.java:20:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertNotNull;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/StringSerializerTest.java:20:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNotNull;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/StringSerializerTest.java:21:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/StringSerializerTest.java:21:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/serialization/test/StringSerializerTest.java:30:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/concurrent/test/TaskTest.java:23:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/MIMETypeTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/MIMETypeTest.java:19:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/MIMETypeTest.java:22:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:20:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:20:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:21:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertFalse;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:21:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertFalse;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:22:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertNotNull;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:22:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNotNull;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:23:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertNull;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:23:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNull;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:24:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:24:
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:31:
package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/ParentResourcesTest.java:32:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/util/test/TimeTest.java:20:
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac]
/Users/ccp999/git/pivot/core/test/org/apache/pivot/xml/test/XMLSerializerTest.java:19:
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac] 100 errors

BUILD FAILED
/Users/ccp999/git/pivot/build.xml:497: The following error occurred while
executing this line:
/Users/ccp999/git/pivot/build.xml:157: Compile failed; see the compiler
error output for details.

Total time: 3 seconds



--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Build-issue-with-Java-1-6-in-OSX-tp4022157.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message