You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Jens Hübel <jh...@opentext.com> on 2010/03/31 09:49:24 UTC

Build/Run Issues with opencmis in Eclipse

Hi,

 

for a couple of days I get for each of our sub projects an additional Java source folder in Eclipse:

target/maven-shared-archive-resources

 

As this does not contain any source files this seems to be rather useless.

 

The more severe issue is that starting the Tomcat from Eclipse results in tons of error messages like this

 

'Publishing to Tomcat v6.0 Server at localhost...' has encountered a problem

Resource is out of sync with the file system: '/opencmis-test-util/target/classes/META-INF/DEPENDENCIES'.

 

Each one causes a popup window in Eclipse making it hardly useable.

 

What was the reason to introduce this? Is there any chance to get rid of putting those to the source folders in a mvn eclipse:eclipse?

 

I tested this on two different machines running into this.

 

Jens

 


RE: Build/Run Issues with opencmis in Eclipse

Posted by Jens Hübel <jh...@opentext.com>.
Nice try, but does not work. This is to include/exclude a specific file set to a source-path in eclipse but not to exclude a complete directory...




-----Original Message-----
From: Jens Hübel [mailto:jhuebel@opentext.com] 
Sent: Mittwoch, 31. März 2010 16:43
To: chemistry-dev@incubator.apache.org
Subject: RE: Build/Run Issues with opencmis in Eclipse

Perhaps this one does help:
http://maven.apache.org/plugins/maven-eclipse-plugin/examples/specifying-source-path-inclusions-and-exclusions.html

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.8</version>
        <configuration>
          <sourceExcludes>
            <sourceExclude>**/.svn/**</sourceExclude>
          </sourceExcludes>
          <sourceIncludes>
            <sourceInclude>**/*.myExtension</sourceInclude>
          </sourceIncludes>
        </configuration>
      </plugin>

I will give it a try...

Jens


-----Original Message-----
From: Klevenz, Stephan [mailto:stephan.klevenz@sap.com] 
Sent: Mittwoch, 31. März 2010 16:03
To: chemistry-dev@incubator.apache.org
Subject: RE: Build/Run Issues with opencmis in Eclipse

Hi Jens,

That seems to be introduced by OpenCMIS POMs Apache parent relation:

	<parent>
		<groupId>org.apache</groupId>
		<artifactId>apache</artifactId>
		<version>6</version>
	</parent>

Apache parent POM defines among other things central settings for distribution management. 

Has someone an idea how to get rid of the unneeded maven-shared-archive-resources feature?

Regards,
Stephan


-----Original Message-----
From: Jens Hübel [mailto:jhuebel@opentext.com] 
Sent: Mittwoch, 31. März 2010 09:49
To: chemistry-dev@incubator.apache.org
Subject: Build/Run Issues with opencmis in Eclipse

Hi,

 

for a couple of days I get for each of our sub projects an additional Java source folder in Eclipse:

target/maven-shared-archive-resources

 

As this does not contain any source files this seems to be rather useless.

 

The more severe issue is that starting the Tomcat from Eclipse results in tons of error messages like this

 

'Publishing to Tomcat v6.0 Server at localhost...' has encountered a problem

Resource is out of sync with the file system: '/opencmis-test-util/target/classes/META-INF/DEPENDENCIES'.

 

Each one causes a popup window in Eclipse making it hardly useable.

 

What was the reason to introduce this? Is there any chance to get rid of putting those to the source folders in a mvn eclipse:eclipse?

 

I tested this on two different machines running into this.

 

Jens

 


RE: Build/Run Issues with opencmis in Eclipse

Posted by Jens Hübel <jh...@opentext.com>.
Perhaps this one does help:
http://maven.apache.org/plugins/maven-eclipse-plugin/examples/specifying-source-path-inclusions-and-exclusions.html

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.8</version>
        <configuration>
          <sourceExcludes>
            <sourceExclude>**/.svn/**</sourceExclude>
          </sourceExcludes>
          <sourceIncludes>
            <sourceInclude>**/*.myExtension</sourceInclude>
          </sourceIncludes>
        </configuration>
      </plugin>

I will give it a try...

Jens


-----Original Message-----
From: Klevenz, Stephan [mailto:stephan.klevenz@sap.com] 
Sent: Mittwoch, 31. März 2010 16:03
To: chemistry-dev@incubator.apache.org
Subject: RE: Build/Run Issues with opencmis in Eclipse

Hi Jens,

That seems to be introduced by OpenCMIS POMs Apache parent relation:

	<parent>
		<groupId>org.apache</groupId>
		<artifactId>apache</artifactId>
		<version>6</version>
	</parent>

Apache parent POM defines among other things central settings for distribution management. 

Has someone an idea how to get rid of the unneeded maven-shared-archive-resources feature?

Regards,
Stephan


-----Original Message-----
From: Jens Hübel [mailto:jhuebel@opentext.com] 
Sent: Mittwoch, 31. März 2010 09:49
To: chemistry-dev@incubator.apache.org
Subject: Build/Run Issues with opencmis in Eclipse

Hi,

 

for a couple of days I get for each of our sub projects an additional Java source folder in Eclipse:

target/maven-shared-archive-resources

 

As this does not contain any source files this seems to be rather useless.

 

The more severe issue is that starting the Tomcat from Eclipse results in tons of error messages like this

 

'Publishing to Tomcat v6.0 Server at localhost...' has encountered a problem

Resource is out of sync with the file system: '/opencmis-test-util/target/classes/META-INF/DEPENDENCIES'.

 

Each one causes a popup window in Eclipse making it hardly useable.

 

What was the reason to introduce this? Is there any chance to get rid of putting those to the source folders in a mvn eclipse:eclipse?

 

I tested this on two different machines running into this.

 

Jens

 


RE: Build/Run Issues with opencmis in Eclipse

Posted by "Klevenz, Stephan" <st...@sap.com>.
Hi Jens,

That seems to be introduced by OpenCMIS POMs Apache parent relation:

	<parent>
		<groupId>org.apache</groupId>
		<artifactId>apache</artifactId>
		<version>6</version>
	</parent>

Apache parent POM defines among other things central settings for distribution management. 

Has someone an idea how to get rid of the unneeded maven-shared-archive-resources feature?

Regards,
Stephan


-----Original Message-----
From: Jens Hübel [mailto:jhuebel@opentext.com] 
Sent: Mittwoch, 31. März 2010 09:49
To: chemistry-dev@incubator.apache.org
Subject: Build/Run Issues with opencmis in Eclipse

Hi,

 

for a couple of days I get for each of our sub projects an additional Java source folder in Eclipse:

target/maven-shared-archive-resources

 

As this does not contain any source files this seems to be rather useless.

 

The more severe issue is that starting the Tomcat from Eclipse results in tons of error messages like this

 

'Publishing to Tomcat v6.0 Server at localhost...' has encountered a problem

Resource is out of sync with the file system: '/opencmis-test-util/target/classes/META-INF/DEPENDENCIES'.

 

Each one causes a popup window in Eclipse making it hardly useable.

 

What was the reason to introduce this? Is there any chance to get rid of putting those to the source folders in a mvn eclipse:eclipse?

 

I tested this on two different machines running into this.

 

Jens