[Geoserver-devel] Geoserver Eclipse build problem (eclipse plugin output=bin issue)

Hi list,
Not sure whether this problem is the same reported by Ben for geotools, but I have issues in building geoserver from eclipse after running “mvn eclipse:eclipse”.
On eclipse, I get this error (also after cleaning/refreshing/rebuilding/etc):

The project was not built due to “A resource exists with a different case: ‘/wms-1.7.6-SNAPSHOT/bin/org/vfny/geoserver/wms/responses/featureInfo’.”. Fix the problem, then try refreshing this project and building it since it may be inconsistent

Removing the
./bin
from the maven-eclipse-plugin section of the main pom, seems resolving my problem.

Am I doing something wrong?

Regards,
Daniele

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it


Hello Daniele,

the problem is that in the GeoServer WMS module there is a package in the test directory which is called java\org\vfny\geoserver\wms\responses\featureinfo instead of java\org\vfny\geoserver\wms\responses\featureInfo

By changing the featureinfo into featureInfo will solve the iussue.

I also suggest to commit this fix on geoserver branch.


Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584 980933
fax: +39 0584 983027
mob: +39 349 8227000

http://www.geo-solutions.it
http://demo.geo-solutions.it
http://geo-solutions.blogspot.com

On Tue, Jul 7, 2009 at 9:52 AM, Daniele Romagnoli <daniele.romagnoli@anonymised.com> wrote:

Hi list,
Not sure whether this problem is the same reported by Ben for geotools, but I have issues in building geoserver from eclipse after running “mvn eclipse:eclipse”.
On eclipse, I get this error (also after cleaning/refreshing/rebuilding/etc):

The project was not built due to “A resource exists with a different case: ‘/wms-1.7.6-SNAPSHOT/bin/org/vfny/geoserver/wms/responses/featureInfo’.”. Fix the problem, then try refreshing this project and building it since it may be inconsistent

Removing the
./bin
from the maven-eclipse-plugin section of the main pom, seems resolving my problem.

Am I doing something wrong?

Regards,
Daniele

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it



Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World™ will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Daniele Romagnoli ha scritto:

Hi list,
Not sure whether this problem is the same reported by Ben for geotools, but I have issues in building geoserver from eclipse after running "mvn eclipse:eclipse".
On eclipse, I get this error (also after cleaning/refreshing/rebuilding/etc):

The project was not built due to "A resource exists with a different case: '/wms-1.7.6-SNAPSHOT/bin/org/vfny/geoserver/wms/responses/featureInfo'.". Fix the problem, then try refreshing this project and building it since it may be inconsistent

This is a Windows specific variant of the issue, it is related to the
windows file system being case insensitive but case preserving at the
same time.

Removing the
<buildOutputDirectory>./bin</buildOutputDirectory>
from the maven-eclipse-plugin section of the main pom, seems resolving my problem.

Am I doing something wrong?

Nope, I am the one doing something wrong: that commit was a mistake,
it got in with an unrelated changeset and I did not notice.
Just reverted it, sorry about the confusion.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Alessio Fabiani ha scritto:

Hello Daniele,

the problem is that in the GeoServer WMS module there is a package in the test directory which is called java\org\vfny\geoserver\wms\responses\featureinfo instead of java\org\vfny\geoserver\wms\responses\featureInfo

By changing the featureinfo into featureInfo will solve the iussue.

I also suggest to commit this fix on geoserver branch.

Yeah. This is something only someone on a case sensitive file system
can do. I can make the change if you want.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

I already fix the problem on my local machine so I can commit the fix.


Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584 980933
fax: +39 0584 983027
mob: +39 349 8227000

http://www.geo-solutions.it
http://demo.geo-solutions.it
http://geo-solutions.blogspot.com

On Tue, Jul 7, 2009 at 10:50 AM, Andrea Aime <aaime@anonymised.com1…> wrote:

Alessio Fabiani ha scritto:

Hello Daniele,

the problem is that in the GeoServer WMS module there is a package in the test directory which is called java\org\vfny\geoserver\wms\responses\featureinfo instead of java\org\vfny\geoserver\wms\responses\featureInfo

By changing the featureinfo into featureInfo will solve the iussue.

I also suggest to commit this fix on geoserver branch.

Yeah. This is something only someone on a case sensitive file system
can do. I can make the change if you want.

Cheers
Andrea


Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

This one bit me today when I tried to update.

That said, I think the package should stay lowercase, generally our convention is to always keep package names lower case is it not?

Alessio Fabiani wrote:

I already fix the problem on my local machine so I can commit the fix.

-------------------------------------------------------
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584 980933
fax: +39 0584 983027
mob: +39 349 8227000

http://www.geo-solutions.it
http://demo.geo-solutions.it
http://geo-solutions.blogspot.com
-------------------------------------------------------

On Tue, Jul 7, 2009 at 10:50 AM, Andrea Aime <aaime@anonymised.com <mailto:aaime@anonymised.com>> wrote:

    Alessio Fabiani ha scritto:

        Hello Daniele,

        the problem is that in the GeoServer WMS module there is a
        package in the test directory which is called
        java\org\vfny\geoserver\wms\responses\featureinfo instead of
        java\org\vfny\geoserver\wms\responses\featureInfo

        By changing the featureinfo into featureInfo will solve the iussue.

        I also suggest to commit this fix on geoserver branch.

    Yeah. This is something only someone on a case sensitive file system
    can do. I can make the change if you want.

    Cheers
    Andrea

    -- Andrea Aime
    OpenGeo - http://opengeo.org
    Expert service straight from the developers.

------------------------------------------------------------------------

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Justin Deoliveira ha scritto:

This one bit me today when I tried to update.

That said, I think the package should stay lowercase, generally our convention is to always keep package names lower case is it not?

Well, it's not like we have any "formal" convention (but I encourage
you to write down one if you like) but yes, in practice we
always use lowercase names. Just give a heads up if you update,
as this change will break "svn up" for windows users.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.