Hi,

I just added http://www.w3.org/2001/XMLSchema-instance as URI to the resources and pointed it to my local copy of the xsd in the maven directory.

HTH Filip

Hal Arnold schrieb:

So, then what does one have to do to the two lines in the resources pane to 
make Idea work with this description?

-----Original Message-----
From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 4:09 AM
To: Maven Users List
Subject: RE: DTDs for project.xml and other maven xmls? maven with IDEA?


Hi,
thanks for the hint. I had to change it a little bit otherwise Idea wouldn't
do code completion:

<?xml version="1.0" encoding="utf-8" ?>
<project
xsi:noNamespaceSchemaLocation="http://maven.apache.org/xsd/maven-project-3.0
.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >

</project>

worked. Thanks again.



-----Original Message-----
From: Siveton Vincent [mailto:[EMAIL PROTECTED]
Sent: Friday, February 25, 2005 12:40 PM
To: 'Maven Users List'
Subject: RE: DTDs for project.xml and other maven xmls? maven with IDEA?


Maven uses xsd (Schema Infoset Model) Lets add this following line in your project.xml <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://maven.apache.org/xsd/maven-p roject-3.0 .0.xsd">

Vincent

-----Message d'origine-----
De : Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
Envoyé : 25 février 2005 06:26
À : Maven Userslist
Objet : DTDs for project.xml and other maven xmls? maven with IDEA?

Hi all,
I am using IntelliJ Idea to create my source code. The IDE provides the
option for code completion if a dtd is provided. Is there any place to get
the dtds for maven related xmls from? Regrettably I haven't been able to
find a plugin for Idea which makes working with maven easier like the
MevenIDE for Eclipse does (front-end for project-descriptor and so on). If
anybody knows about a plugin like this please let me know.

Thanks, Filip


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to