Yes the first pom doesn't declare name element, but I add this element and
it nothing changed. Only on one project.xml editor was working, but when I
tryied to extend it, eclipse exit with error "OutOfMemory". here is my
project.xml

<!DOCTYPE project [
<!ENTITY % locator-entities SYSTEM "file:entities-locator.ent">
%locator-entities;
]>
<project>
<extend>${basedir}/java/project.xml</extend>
<id>LMS</id>
<name>LMS</name>
<package>com.offshorecreations</package>
<currentVersion>1.0</currentVersion>
<dependencies>
&f1-lms;
&f1-datamodel-api;
&f1-dao-api;
&adl-scorm-f1-ext;
&ibatis;
&adl-scorm;
&templator;
&simplequery;
&jabber-server-adapter;
&jetty;
&servletapi;
&jasper-runtime;
&jasper-compiler;
</dependencies>

<build>
<sourceDirectory>src</sourceDirectory>
<unitTestSourceDirectory>testsrc</unitTestSourceDirectory>
<unitTest>
<resources><resource>
<directory>src/testsrc</directory>
<includes><include>**/*</include></includes>
<excludes><exclude>**/*.java</exclude></excludes>
</resource></resources>
<includes>
<include>com/offshorecreations/lms/initilization/Test*adsf.java</include>
</includes>
</unitTest>
<resources>
<resource>
<directory>java/f1/src/etc/properties</directory>
<targetPath>properties</targetPath>
<includes>
<include>**/*.xml</include>
<include>*.properties</include>
</includes>
</resource>
<resource>
<directory>java/f1/src/etc/conf</directory>
<targetPath>messages</targetPath>
<includes>
<include>*.properties</include>
</includes>
</resource>
<resource>
<directory>java/f1/src/etc/conf</directory>
<targetPath>../conf</targetPath>
<includes>
<include>*.xml</include>
<include>*.conf</include>
</includes>
</resource>
<resource>
<directory>${basedir}</directory>
<targetPath>../..</targetPath>
<includes>
<include>update-site.xml</include>
<include>build.properties</include>
</includes>
</resource>
</resources>
</build>
</project>

> Yura Ivanov wrote:
>
> >I have Eclipse M9,
> >when try to open project.xml, I get an error "Unable to create part:
Maven"
> >
> >
>
> this really shoudnot happen on M9. cannot help much without any more
> information, however if you upgrade from an earlier version you can try
> to trash your configuration folder to see if that get rid of that error.
>
> >And often when I try to do something I've got this -
> >
> >java.lang.NullPointerException
> > at
>
>org.mevenide.ui.eclipse.sync.model.MavenProjectNode.equals(MavenProjectNode
.
> >java:377)
> > at
> >
>
> i think thats because you pom doesnot declare <name> element? can you
> confirm it ? i believe name is a required element and it is used
> internally by the synchronizer for project comparison. i guess we could
> at least for nullity ;)  let me know if that helped.
>
> -- gd
>
>
> ---------------------------------------------------------------------
> 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