ah, that looks impressively similar to this post I just answered last night:
https://forum.hibernate.org/viewtopic.php?f=1&t=1009976
I actually planned to ask you about it.
2011/3/11 Emmanuel Bernard <emmanuel(a)hibernate.org>:
Interesting,
Nicolas is experiencing an exception on 7 SP1 64 bits
java.io.FileNotFoundException:
C\:\Dev\hibernate-core-ogm\entitymanager\target\packages\externaljar.jar (La syntaxe du
nom de fichier, de répertoire ou de volume est incorrecte)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:72)
at
org.hibernate.ejb.packaging.FileZippedJarVisitor.doProcessElements(FileZippedJarVisitor.java:65)
at
org.hibernate.ejb.packaging.AbstractJarVisitor.getMatchingEntries(AbstractJarVisitor.java:146)
at org.hibernate.ejb.packaging.NativeScanner.getClassesInJar(NativeScanner.java:128)
at
org.hibernate.ejb.test.packaging.CustomScanner.getClassesInJar(CustomScanner.java:33)
at org.hibernate.ejb.Ejb3Configuration.addScannedEntries(Ejb3Configuration.java:475)
at
org.hibernate.ejb.Ejb3Configuration.addMetadataFromScan(Ejb3Configuration.java:465)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:361)
at
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:48)
He is investigating.
On 11 mars 2011, at 11:29, Sanne Grinovero wrote:
> 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