problem with application.xml file

Hello,
I created an enterprise application in IDEA. There is a web module "My Web Application" in this project. IDEA automatically creates an application.xml file as follows:


MyApp]]>
<module id="My Web Application.iml">
MyWebApplication.war My Web Application ]]>


As you can see, there are spaces, in the *id *attribute of the *module *and IDEA does not like this. How can I make IDEA give a specific id to the module? Or is there a way to prevent adding the id attribute?

thank you...

1 comment

The "id" attribute is used internally by IntelliJ IDEA to store, as you can
see, your module file name. The XML validator says that it's prohibited to
spaces therein. I don't know how to deal with your problem right now, I'll
think about it. As a workaround, I'd sugeest you to rename your module so
that its name doesn't contain spaces.

"Halil Karakose" <no_reply@jetbrains.com> wrote in message
news:9349404.1158597553086.JavaMail.itn@is.intellij.net...

Hello,
I created an enterprise application in IDEA. There is a web module "My Web
Application" in this project. IDEA automatically creates an
application.xml file as follows:

>
>

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>MyApp</display-name>
<module id="My Web Application.iml">
<web>
<web-uri>MyWebApplication.war</web-uri>
<context-root>My Web Application</context-root>
</web>
</module>
</application>

>
>

As you can see, there are spaces, in the *id *attribute of the
*module *and IDEA does not like this. How can I make IDEA give a
specific id to the module? Or is there a way to prevent adding the
id attribute?

>

thank you...



0

Please sign in to leave a comment.