[ 
http://jira.codehaus.org/browse/MHIBERNATE-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Timofeyev closed MHIBERNATE-73.
--------------------------------------

    Resolution: Won't Fix

Ii is hibernate bug, that is fixed in the entitymanager 3.3.2.CR1.

> java.net.URISyntaxException with jpaconfiguration implementation
> ----------------------------------------------------------------
>
>                 Key: MHIBERNATE-73
>                 URL: http://jira.codehaus.org/browse/MHIBERNATE-73
>             Project: Maven 2.x Hibernate Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-2, 2.0
>         Environment: java version "1.6.0_02"
> Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
> Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)
>            Reporter: Andrey Timofeyev
>            Assignee: Johann Reyes
>
> 1. Create project, located in the "C:/Documents and 
> Settings/atimofeyev/workspace/" folder.
> hibernate3-maven-plugin in the pom file:
> {code:xml} 
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>hibernate3-maven-plugin</artifactId>
>                 <version>2.0-alpha-2</version>
>                 <configuration>
>                     <components>
>                         <component>
>                             <name>hbm2ddl</name>
>                             <implementation>jpaconfiguration</implementation>
>                         </component>
>                     </components>
>                     <componentProperties>
>                         <drop>true</drop>
>                         <jdk5>true</jdk5>
>                         
> <propertyfile>target/classes/jdbc.properties</propertyfile>
>                         <skip>${maven.test.skip}</skip>
>                     </componentProperties>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <phase>process-test-resources</phase>
>                         <goals>
>                             <goal>hbm2ddl</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 <dependencies>
>                     
>                 <dependency>
>                         <groupId>group</groupId>
>                         <artifactId>id</artifactId>
>                         <version>ver</version>
>                         <scope>system</scope>
>                         <systemPath>${jdbc.loadingPath.0}</systemPath>
>                     </dependency>
>                 </dependencies>
>             </plugin>
> {code} 
> 2. lunch mvn hibernate3:hbm2ddl
> exp: tables are created
> act: get exception
> {code}
> [jsf] WARN [main] ExplodedJarVisitor.doProcessElements(34) | Malformed url: 
> file:/C:/Documents and Settings/atimofeyev/workspace/jsf/target/classes
> java.net.URISyntaxException: Illegal character in path at index 18: 
> file:/C:/Documents and Settings/atimofeyev/workspace/jsf/target/classes
>       at java.net.URI$Parser.fail(URI.java:2816)
>       at java.net.URI$Parser.checkChars(URI.java:2989)
>       at java.net.URI$Parser.parseHierarchical(URI.java:3073)
>       at java.net.URI$Parser.parse(URI.java:3021)
>       at java.net.URI.<init>(URI.java:578)
>       at java.net.URL.toURI(URL.java:916)
>       at 
> org.hibernate.ejb.packaging.ExplodedJarVisitor.doProcessElements(ExplodedJarVisitor.java:31)
>       at 
> org.hibernate.ejb.packaging.JarVisitor.getMatchingEntries(JarVisitor.java:215)
>       at 
> org.hibernate.ejb.Ejb3Configuration.addMetadataFromVisitor(Ejb3Configuration.java:253)
>       at 
> org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:229)
>       at 
> org.codehaus.mojo.hibernate3.configuration.JPAComponentConfiguration.createConfiguration(JPAComponentConfiguration.java:26)
>       at 
> org.codehaus.mojo.hibernate3.configuration.AbstractComponentConfiguration.getConfiguration(AbstractComponentConfiguration.java:35)
>       at 
> org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:87)
>       at 
> org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:140)
>       at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:598)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:499)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:453)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:423)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:271)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:238)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:146)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:303)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
>       at 
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:903)
>       at 
> org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:83)
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to