[ http://jira.andromda.org/browse/CORE-70?page=comments#action_11672 ] Roger Millichamp commented on CORE-70: --------------------------------------
I tried this on V3 and it worked OK > Fails if directory name has space in it > --------------------------------------- > > Key: CORE-70 > URL: http://jira.andromda.org/browse/CORE-70 > Project: AndroMDA Core > Type: Bug > Environment: Windows XP, AndroMDA 212 > Reporter: Roger Millichamp > Assignee: Chad Brandon > Priority: Minor > > Hello > if I put the hibernate template in a directory whose name has a space in it > the build fails (even though it says it was successful). If the directory has > no spaces it works. The output is below. You will see that the directory is > heavily nested, which is what I thought the problem was originally. I can't > find this in the FAQ or support info so I hope I'm not wasting your time. The > output from ant is: > Buildfile: build.xml > init: > genjava: > [andromda] CartridgeFinder: Cartridge found: hibernate > [andromda] CartridgeFinder: Cartridge found: java > [andromda] Input: > jar:file:E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > xxxxx\xxxxx xxxxx/src/uml/blank-model.zargo!/blank-model.xmi > rundoclets: > [delete] Deleting 1 files from > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > xxxxx\xxxxx xxxxx\build\hibernateservice > [hibernatedoclet] (XDocletMain.start 47 ) Running > <hibernate/> > [hibernatedoclet] Generating mapping file for com.acme.domain.EntityA. > [hibernatedoclet] com.acme.domain.EntityA > [hibernatedoclet] com.acme.domain.EntityAImpl > [hibernatedoclet] (XDocletMain.start 47 ) Running > <jbossservice/> > [ejbdoclet] (XDocletMain.start 47 ) Running <utilobject/> > [ejbdoclet] (XDocletMain.start 47 ) Running > <remoteinterface/> > [ejbdoclet] (XDocletMain.start 47 ) Running > <homeinterface/> > [ejbdoclet] (XDocletMain.start 47 ) Running > <localinterface/> > [ejbdoclet] (XDocletMain.start 47 ) Running > <localhomeinterface/> > [ejbdoclet] (XDocletMain.start 47 ) Running > <deploymentdescriptor/> > [ejbdoclet] (XDocletMain.start 47 ) Running <jboss/> > compile: > copystages: > buildjars: > [delete] Deleting 3 files from > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > xxxxx\xxxxx xxxxx\build\earstage > [hibernate-sar] Building jar: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > xxxxx\xxxxx xxxxx\build\earstage\andromda-hibernate-template.sar > [hibernate-jar] Building jar: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > xxxxx\xxxxx xxxxx\build\earstage\andromda-hibernate-template.jar > [app-xml] Copying 1 file to > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > xxxxx\xxxxx xxxxx\build\earstage\META-INF > [app-ear] Building jar: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > xxxxx\xxxxx xxxxx\build\andromda-hibernate-template.ear > hibernate-schema: > [java] (cfg.Environment 403 ) Hibernate 2.0.3 > [java] (cfg.Environment 432 ) hibernate.properties > not found > [java] (cfg.Environment 452 ) using CGLIB reflection > optimizer > [java] (cfg.Environment 462 ) JVM proxy support: true > [java] (cfg.Configuration 153 ) Mapping file: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > [java] (cfg.Configuration 158 ) Could not configure > datastore from file: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > [java] java.net.MalformedURLException: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] at org.dom4j.io.SAXReader.read(SAXReader.java:221) > [java] at > net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:155) > [java] at > net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:285) > [java] Error creating schema > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] java.net.MalformedURLException: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] at org.dom4j.io.SAXReader.read(SAXReader.java:221) > [java] at > net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:155) > [java] at > net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:285) > [java] rethrown as net.sf.hibernate.MappingException: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] at > net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:159) > [java] at > net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:285) > [java] Caused by: java.net.MalformedURLException: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] at org.dom4j.io.SAXReader.read(SAXReader.java:221) > [java] at > net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:155) > [java] ... 1 more > [java] (cfg.Environment 403 ) Hibernate 2.0.3 > [java] (cfg.Environment 432 ) hibernate.properties > not found > [java] (cfg.Environment 452 ) using CGLIB reflection > optimizer > [java] (cfg.Environment 462 ) JVM proxy support: true > [java] (cfg.Configuration 153 ) Mapping file: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > [java] (cfg.Configuration 158 ) Could not configure > datastore from file: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > [java] java.net.MalformedURLException: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] at org.dom4j.io.SAXReader.read(SAXReader.java:221) > [java] at > net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:155) > [java] at > net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:285) > [java] Error creating schema > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] java.net.MalformedURLException: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] at org.dom4j.io.SAXReader.read(SAXReader.java:221) > [java] at > net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:155) > [java] at > net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:285) > [java] rethrown as net.sf.hibernate.MappingException: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] at > net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:159) > [java] at > net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:285) > [java] Caused by: java.net.MalformedURLException: > E:\Users\Roger\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxxxxxxx\xxxxx > (The system cannot find the file specified) > [java] at org.dom4j.io.SAXReader.read(SAXReader.java:221) > [java] at > net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:155) > [java] ... 1 more > build: > BUILD SUCCESSFUL > Total time: 10 seconds -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
