Hi Stefan,

Yeah its a problem with the fact that your underlying XML parser doesn't
support schema validation (probably Crimson), so it looks for a DTD which
doesn't exist.  Currently there isn't any flag to shut it off (unless you
programmatically do it through the XmlObjectFactory in the andromda-core).
I'm gonna add a flag to turn off/on schema validation for M2.  Anyway, in
the meantime you can set your parser to use xerces or something that
supports schema validation.

Chad

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 22, 2004 6:07 AM
Subject: [Andromda-user] AndroMDA and Eclipse


Hello,

I have the following problem with working with Eclipse on AndroMDA
Projects:
I created an AndroMDA project template "helloapp" with the AndroMDA 3.0M1
Ant Tool.
Then I moved the project template directory to D:
\Projekte\mdd\andromda\helloapp and copied the files in
andromda-bin-3.0M1\ant\lib to D:\Projekte\mdd\andromda\helloapp\lib.
Then calling ant from command line in D:\Projekte\mdd\andromda\helloapp
works fine.
Then I created a eclipse 3.0 M8 project for helloapp and tried to start the
ant file from within eclipse. But that causes the following exception:

mda:
 [andromda] 12:05:10,187 WARN  [Digester]
org.xml.sax.SAXNotRecognizedException: Property:
http://java.sun.com/xml/jaxp/properties/schemaLanguage
 [andromda] 12:05:10,217 WARN  [Digester] Parse Warning Error at line 1
column -1: G�ltige Dokumente m�ssen eine <!DOCTYPE-Deklaration enthalten.
 [andromda] org.xml.sax.SAXParseException: G�ltige Dokumente m�ssen eine
<!DOCTYPE-Deklaration enthalten.
 [andromda] at org.apache.crimson.parser.Parser2.warning(Unknown Source)
...
BUILD FAILED: org.andromda.core.common.XmlObjectFactoryException:
VALIDATION FAILED for --> 'jar:file:D:
\Projekte\mdd\andromda\helloapp\lib\andromda-bpm4struts-cartridge-3.0M1.jar!
/META-INF/andromda-cartridge.xml'

against SCHEMA --> 'jar:file:D:
\Projekte\mdd\andromda\helloapp\lib\andromda-core-3.0M1.jar!/org/andromda/co
re/cartridge/CartridgeDescriptor.xsd'

--> message: 'Elementtyp "cartridge" ist nicht deklariert.'

Does anyone have any ideas?

Regards
Stefan



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=ick
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to