My project directory has a space in its name: "highenergy andromda". When
generating this project I get an error when AndroMDA is trying to generate
create-schema.sql. Are spaces not allowed in project names? Here are the error
messages:
ejb:ejb:
[echo] Building ejb highenergy-core-1.0-Demo
[jar] Building jar: D:highenergy
andromdacoretargethighenergy-core-1.0-Demo.jar
INFO [PostGoalTag] Running post goal: ejb:ejb
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Environment <clinit>
[java] INFO: Hibernate 3.0.5
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Environment <clinit>
[java] INFO: loaded properties from resource hibernate.properties:
{hibernate.cglib.use_reflection_optimizer=true,
hibernate.dialect=org.hibernate.dialect.HSQLDialect,
hibernate.connection.datasource=java:/DefaultDS}
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Environment <clinit>
[java] INFO: using CGLIB reflection optimizer
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Environment <clinit>
[java] INFO: using JDK 1.4 java.sql.Timestamp handling
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Configuration addFile
[java] INFO: Mapping file: D:highenergy
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Configuration addFile
[java] SEVERE: Could not configure datastore from file: D:highenergy
[java] java.net.MalformedURLException: D:highenergy (Access is denied)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:221)
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:226)
[java] at
org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:364)
[java] Jul 18, 2005 10:52:33 AM org.hibernate.tool.hbm2ddl.SchemaExport main
[java] SEVERE: Error creating schema
[java] org.hibernate.MappingException: Could not configure datastore from
file: D:highenergy
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:233)
[java] at
org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:364)
[java] Caused by: java.net.MalformedURLException: D:highenergy (Access is
denied)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:221)
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:226)
[java] ... 1 more
[java] org.hibernate.MappingException: Could not configure datastore from
file: D:highenergy
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:233)
[java] at
org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:364)
[java] Caused by: java.net.MalformedURLException: D:highenergy (Access is
denied)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:221)
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:226)
[java] ... 1 more
[replaceregexp] [ERROR] The following file is missing: 'D:highenergy
andromdacoretargetschema-create.sql'
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Environment <clinit>
[java] INFO: Hibernate 3.0.5
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Environment <clinit>
[java] INFO: loaded properties from resource hibernate.properties:
{hibernate.cglib.use_reflection_optimizer=true,
hibernate.dialect=org.hibernate.dialect.HSQLDialect,
hibernate.connection.datasource=java:/DefaultDS}
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Environment <clinit>
[java] INFO: using CGLIB reflection optimizer
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Environment <clinit>
[java] INFO: using JDK 1.4 java.sql.Timestamp handling
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Configuration addFile
[java] INFO: Mapping file: D:highenergy
[java] Jul 18, 2005 10:52:33 AM org.hibernate.cfg.Configuration addFile
[java] SEVERE: Could not configure datastore from file: D:highenergy
[java] java.net.MalformedURLException: D:highenergy (Access is denied)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:221)
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:226)
[java] at
org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:364)
[java] Jul 18, 2005 10:52:33 AM org.hibernate.tool.hbm2ddl.SchemaExport main
[java] SEVERE: Error creating schema
[java] org.hibernate.MappingException: Could not configure datastore from
file: D:highenergy
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:233)
[java] at
org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:364)
[java] Caused by: java.net.MalformedURLException: D:highenergy (Access is
denied)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:221)
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:226)
[java] ... 1 more
[java] org.hibernate.MappingException: Could not configure datastore from
file: D:highenergy
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:233)
[java] at
org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:364)
[java] Caused by: java.net.MalformedURLException: D:highenergy (Access is
denied)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:221)
[java] at
org.hibernate.cfg.Configuration.addFile(Configuration.java:226)
[java] ... 1 more
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2806#2806
Posting to http://forum.andromda.org/ is preferred over posting to the mailing
list!
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user