Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ant build fails with OS X JDK 7 preview #8

Open
klauern opened this issue Oct 29, 2011 · 0 comments
Open

ant build fails with OS X JDK 7 preview #8

klauern opened this issue Oct 29, 2011 · 0 comments

Comments

@klauern
Copy link

klauern commented Oct 29, 2011

First, I can probably switch this to 1.6 on OS X (10.6) and things work fine, but I wasn't sure if this is supposed to happen or not.

klauer@klauer-imac ~
$ java -version
openjdk version "1.7.0-b215"
OpenJDK Runtime Environment (build 1.7.0-b215-20111028)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

klauer@klauer-imac ~
$ cd Programming/Java/neo4j-tutorial/

klauer@klauer-imac ~/Programming/Java/neo4j-tutorial
$ ant
Buildfile: build.xml

clean:
   [delete] Deleting directory /Users/klauer/Programming/Java/neo4j-tutorial/target

-create.ivy.dir:

-lib.dir-available:

download-ivy:

install-ivy:

lib.retrieve:

compile:
    [mkdir] Created dir: /Users/klauer/Programming/Java/neo4j-tutorial/target/main/classes
     [iajc] warning at /Users/klauer/Programming/Java/neo4j-tutorial/lib/spring-aspects.jar!org/springframework/orm/jpa/aspectj/JpaExceptionTranslatorAspect.class:14::0 advice defined in org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect has not been applied [Xlint:adviceDidNotMatch]
     [iajc] warning at /Users/klauer/Programming/Java/neo4j-tutorial/lib/spring-aspects.jar!org/springframework/scheduling/aspectj/AbstractAsyncExecutionAspect.class:52::0 advice defined in org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect has not been applied [Xlint:adviceDidNotMatch]
     [iajc] warning at /Users/klauer/Programming/Java/neo4j-tutorial/lib/spring-data-neo4j.jar!org/springframework/data/graph/neo4j/support/node/Neo4jNodeBacking.class:105::0 advice defined in org.springframework.data.graph.neo4j.support.node.Neo4jNodeBacking has not been applied [Xlint:adviceDidNotMatch]
     [iajc] warning at /Users/klauer/Programming/Java/neo4j-tutorial/lib/spring-data-neo4j.jar!org/springframework/data/graph/neo4j/support/node/Neo4jNodeBacking.class:253::0 advice defined in org.springframework.data.graph.neo4j.support.node.Neo4jNodeBacking has not been applied [Xlint:adviceDidNotMatch]
     [iajc] warning at /Users/klauer/Programming/Java/neo4j-tutorial/lib/spring-data-neo4j.jar!org/springframework/data/graph/neo4j/support/node/Neo4jNodeBacking.class:263::0 advice defined in org.springframework.data.graph.neo4j.support.node.Neo4jNodeBacking has not been applied [Xlint:adviceDidNotMatch]
     [iajc] warning at org/springframework/mock/staticmock/AnnotationDrivenStaticEntityMockingControl.aj:64::0 advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch]
     [iajc] warning at /Users/klauer/Programming/Java/neo4j-tutorial/lib/spring-aspects.jar!org/springframework/mock/staticmock/AbstractMethodMockingControl.class:160::0 advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
     [iajc] warning at /Users/klauer/Programming/Java/neo4j-tutorial/lib/spring-aspects.jar!org/springframework/mock/staticmock/AbstractMethodMockingControl.class:169::0 advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
     [iajc] warning at /Users/klauer/Programming/Java/neo4j-tutorial/lib/spring-data-neo4j.jar!org/springframework/data/graph/neo4j/support/relationship/Neo4jRelationshipBacking.class:130::0 advice defined in org.springframework.data.graph.neo4j.support.relationship.Neo4jRelationshipBacking has not been applied [Xlint:adviceDidNotMatch]
     [iajc] warning at /Users/klauer/Programming/Java/neo4j-tutorial/lib/spring-data-neo4j.jar!org/springframework/data/graph/neo4j/support/relationship/Neo4jRelationshipBacking.class:137::0 advice defined in org.springframework.data.graph.neo4j.support.relationship.Neo4jRelationshipBacking has not been applied [Xlint:adviceDidNotMatch]
     [copy] Copying 1 file to /Users/klauer/Programming/Java/neo4j-tutorial/target/main/classes

compile.tests:
    [mkdir] Created dir: /Users/klauer/Programming/Java/neo4j-tutorial/target/test/classes
    [javac] Compiling 2 source files to /Users/klauer/Programming/Java/neo4j-tutorial/target/test/classes

Error in log:

    [javac] javac: target release 1.5 conflicts with default source release 1.7

BUILD FAILED
/Users/klauer/Programming/Java/neo4j-tutorial/build.xml:54: Compile failed; see the compiler error output for details.

Total time: 15 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant