[hibernate-dev] Building OGM on Windows
Sanne Grinovero
sanne at hibernate.org
Fri Mar 11 05:29:10 EST 2011
Hi,
I'm building your latest OGM branch version just fine on Windows Vista
64bit, using Oracle JDK 1.6.0_23 64bit, Maven 3.0.3 from whatever
people dare to call "the command line".
The full package build fails in the end while building documentation
and assembly as I didn't setup po2xml, but that happens after all code
packages are built and all tests seem ok.
I just noticed this weird messages in the log, but don't seem to
affect tests or build success:
generate-metamodel:
[echo] Processing JPA annotations for metamodel generation
[mkdir] Created dir:
C:\Users\Sanne\hibernate-core-ogm\entitymanager\target\generated-src\jpamodelgen
[javac] Compiling 257 source files to
C:\Users\Sanne\hibernate-core-ogm\entitymanager\target\generated-src\jpamodelgen
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\QueryBuilderTest.java:44:
cannot find symbol
[javac] symbol : class Customer_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.Customer_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\basic\AggregationResultTest.java:37:
cannot find symbol
[javac] symbol : class Product_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.Product_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\basic\ExpressionsTest.java:43:
cannot find symbol
[javac] symbol : class Product_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.Product_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\basic\ExpressionsTest.java:44:
cannot find symbol
[javac] symbol : class Phone_
[javac] location: package org.hibernate.ejb.test.mapping
[javac] import org.hibernate.ejb.test.mapping.Phone_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\paths\ImplicitJoinTest.java:35:
cannot find symbol
[javac] symbol : class LineItem_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.LineItem_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\paths\ImplicitJoinTest.java:37:
cannot find symbol
[javac] symbol : class Order_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.Order_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\subquery\CorrelatedSubqueryTest.java:38:
cannot find symbol
[javac] symbol : class Customer_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.Customer_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\subquery\CorrelatedSubqueryTest.java:40:
cannot find symbol
[javac] symbol : class LineItem_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.LineItem_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\subquery\CorrelatedSubqueryTest.java:42:
cannot find symbol
[javac] symbol : class Order_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.Order_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\subquery\UncorrelatedSubqueryTest.java:35:
cannot find symbol
[javac] symbol : class Customer_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.Customer_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\subquery\UncorrelatedSubqueryTest.java:37:
cannot find symbol
[javac] symbol : class Order_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.Order_;
[javac] ^
[javac] C:\Users\Sanne\hibernate-core-ogm\entitymanager\src\test\java\org\hibernate\ejb\criteria\tuple\TupleCriteriaTest.java:13:
cannot find symbol
[javac] symbol : class Customer_
[javac] location: package org.hibernate.ejb.metamodel
[javac] import org.hibernate.ejb.metamodel.Customer_;
[javac] ^
[javac] Note: Hibernate JPA 2 Static-Metamodel Generator 1.0.0.Final
[touch] Creating
C:\Users\Sanne\hibernate-core-ogm\entitymanager\target\generated-src\jpamodelgen\.staleflag
[INFO] Executed tasks
[INFO] Registering compile test source root
C:\Users\Sanne\hibernate-core-ogm\entitymanager\target\generated-src\jpamodelgen
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ hibernate-entitymanager ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 16 resources
[INFO] Copying 22 resources to ../bundles
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile
(default-testCompile) @ hibernate-entitymanager ---
[INFO] Compiling 395 source files to
C:\Users\Sanne\hibernate-core-ogm\entitymanager\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @
hibernate-entitymanager ---
[INFO] Surefire report directory:
C:\Users\Sanne\hibernate-core-ogm\entitymanager\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[continues with tests which run just fine]
Cheers,
Sanne
More information about the hibernate-dev
mailing list