[Geoserver-devel] Feedback on Building Geoserver

Hi Justin,

I ran the target build "maven build" from the cmd line.

Here is what happened with Geoserver Build this morning.

01: I was running Maven 1.1 Beta 2 so the parsing of the XML failed, I
was not aware that I have to run with Maven v. 1.0.2
02: The message says BUILD SUCCESSFUL, but it is not, no test where
run, there is no target directory in my project folder, so I think
that the build did not complete.
03: There was no compiling of any classes that took place.

Hmm, is there some configuration issues with Maven or properties..

--
Kind Regards,
Clint Lewis

Hi Justin,

I ran the target build "maven build" from the cmd line.

Here is what happened with Geoserver Build this morning.

01: I was running Maven 1.1 Beta 2 so the parsing of the XML failed, I
was not aware that I have to run with Maven v. 1.0.2
02: The message says BUILD SUCCESSFUL, but it is not, no test where
run, there is no target directory in my project folder, so I think
that the build did not complete.
03: There was no compiling of any classes that took place.

Hmm, is there some configuration issues with Maven or properties..

--
Kind Regards,
Clint Lewis

Hi Clint,

Clint Lewis wrote:

Hi Justin,

I ran the target build "maven build" from the cmd line.

Here is what happened with Geoserver Build this morning.

01: I was running Maven 1.1 Beta 2 so the parsing of the XML failed, I
was not aware that I have to run with Maven v. 1.0.2

I have never tried with the newest 1.1, but I thought it was fully backwards compatable. Perhaps not. Did you try downgrading to 1.0.2?

02: The message says BUILD SUCCESSFUL, but it is not, no test where
run, there is no target directory in my project folder, so I think
that the build did not complete.
03: There was no compiling of any classes that took place.

Hmm, definitley something amiss. Can you try with the older version of maven? Thanks.

Hmm, is there some configuration issues with Maven or properties..

--
Kind Regards,
Clint Lewis

-Justin

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
jdeolive@anonymised.com

Hi Justin,

I seemed to have not explained myself correctly... OK I tried 1.1 no
luck, got error parsing exception, I then downgraded to 1.02 and
poof.. it worked (magic).

Not exactly like we hope, I had the following issues..
Ran successfull got the "Build Successfull" Message but no test or
compile happened?
(see dos echo below)

C:\projects\trunk\geoserver\1.4.x>maven build
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2

plugin maven-scm-plugin-1.5 is cached (dynatag dep) but no longer present
Cache invalidated due to out of date plugins
build:start:

build:
multiproject:projects-init:
    [echo] Gathering project list
Starting the reactor...
Our processing order:
Starting the reactor...
Our processing order:

multiproject:goal:

    [echo] C:\projects\trunk\geoserver\1.4.x/target
BUILD SUCCESSFUL
Total time: 11 seconds
Finished at: Tue Feb 14 10:02:12 CAT 2006

--
Kind Regards,
Clint Lewis

On 2/14/06, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hi Clint,

Clint Lewis wrote:
> Hi Justin,
>
> I ran the target build "maven build" from the cmd line.
>
> Here is what happened with Geoserver Build this morning.
>
> 01: I was running Maven 1.1 Beta 2 so the parsing of the XML failed, I
> was not aware that I have to run with Maven v. 1.0.2
I have never tried with the newest 1.1, but I thought it was fully
backwards compatable. Perhaps not. Did you try downgrading to 1.0.2?

> 02: The message says BUILD SUCCESSFUL, but it is not, no test where
> run, there is no target directory in my project folder, so I think
> that the build did not complete.
> 03: There was no compiling of any classes that took place.
>
Hmm, definitley something amiss. Can you try with the older version of
maven? Thanks.
> Hmm, is there some configuration issues with Maven or properties..
>
> --
> Kind Regards,
> Clint Lewis

-Justin
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
jdeolive@anonymised.com

Hi Clint !!

I think you don’t have really installed maven 1.1 beta2. You should retry to uninstall completely maven, delete all files put in your installation directory and all files put in your personal maven directory which is usually for windows XP and 2000 c:/Documents and Settings//.maven
After that re-install maven 1.0.2 and it should work better.
You may have some problems with repository and particularly with geotools repository because maven can’t download version 2.2.x for all gt2 jars. I download them manually and put them in my local repository. Go to this url http://lists.refractions.net/geotools/gt2/UDIG1.1.x/ and download all jars listed in project.xml in org.vfny.geoserver.gtlibs directory. Downloading repository may take a long time, it depends of your connexion.
Then, I can’t help you to run geoserver. When I run the command maven jetty:run, the server runs well, but there is no links to geoserver. So I set the config file of jetty to the file etc/jetty.xml which is in the jetty module (you need to create a file named project.properties in org.vfny.geoserver.jetty and write into maven.jetty.config.xml=etc/jetty.xml) but it doesn’t work. Any idea(s) ?! Maybe a problem with the jetty version ?

That’s the log of the command :


/ |__ Apache_ ___

/| / ` \ V / -) ’ \ ~ intelligent projects ~
| |_,|_/___|||| v. 1.0.2

build:start:

jetty:prepare-filesystem:

jetty:config:

jetty:run:
[java] 11:54:42.000 EVENT Checking Resource aliases
[java] 11:54:42.500 EVENT Starting Jetty/4.2.17
[java] 11:54:43.062 WARN!! ERROR@anonymised.com://1.4.x/target/geoserver
/WEB-INF/web.xml line:67 col:-1 : org.xml.sax.SAXParseException: LÚlÚment “{0}” naccepte pas "filter
" ici.
[java] 11:54:43.109 WARN!! ERROR@anonymised.com://1.4.x/target/geoserver
/WEB-INF/web.xml line:76 col:-1 : org.xml.sax.SAXParseException: LÚlÚment “{0}” naccepte pas “filter
-mapping” ici.
[java] 11:54:43.125 WARN!! Configuration error on ./…/target/geoserver
[java] org.xml.sax.SAXParseException: LÚlÚment “{0}” naccepte pas “filter” ici.
[java] at org.apache.crimson.parser.Parser2.error(Parser2.java:3354)
[java] at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.consume(ValidatingPa
rser.java:349)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1497)
[java] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
[java] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
[java] at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
[java] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
[java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
[java] at org.mortbay.xml.XmlParser.parse(XmlParser.java:123)
[java] at org.mortbay.xml.XmlParser.parse(XmlParser.java:138)
[java] at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:
403)
[java] at org.mortbay.http.HttpServer.start(HttpServer.java:663)
[java] at org.mortbay.jetty.Server.main(Server.java:429)
[java]
[java] 11:54:43.171 EVENT Started SocketListener on 0.0.0.0:8080
[java] 11:54:43.171 WARN!!
[java] org.mortbay.util.MultiException[org.xml.sax.SAXParseException: LÚlÚment “{0}” naccepte pa
s “filter” ici.]
[java] at org.mortbay.http.HttpServer.start(HttpServer.java:640)
[java] at org.mortbay.jetty.Server.main(Server.java:429)
[java] [0]=org.xml.sax.SAXParseException: LÚlÚment “{0}” naccepte pas “filter” ici.
[java] at org.apache.crimson.parser.Parser2.error(Parser2.java:3354)
[java] at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.consume(ValidatingPa
rser.java:349)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1497)
[java] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
[java] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
[java] at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
[java] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
[java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
[java] at org.mortbay.xml.XmlParser.parse(XmlParser.java:123)
[java] at org.mortbay.xml.XmlParser.parse(XmlParser.java:138)
[java] at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:
403)
[java] at org.mortbay.http.HttpServer.start(HttpServer.java:663)
[java] at org.mortbay.jetty.Server.main(Server.java:429)
[java]

br,
Pierre-Emmanuel

Clint Lewis a écrit :

Alcer (Pierre-Emmanuel Balageas) wrote:

Hi Clint !!

I think you don't have really installed maven 1.1 beta2. You should retry to uninstall completely maven, delete all files put in your installation directory and all files put in your personal maven directory which is usually for windows XP and 2000 /c:/Documents and Settings/<your username>/.maven/

/I think he tried that, however he needs to try something.

cause I did a fresh checkout of 1.4.x and it works for me.

/

Hi Alcer,

I tried this... I am going to start afresh today, delete my project
and do a clean check out and try again..I am not sure why mine wont
work Jody did a clean checkout and his works out of the box??

--
Kind Regards,
Clint Lewis

On 2/16/06, Jody Garnett <jgarnett@anonymised.com> wrote:

Alcer (Pierre-Emmanuel Balageas) wrote:
> Hi Clint !!
>
> I think you don't have really installed maven 1.1 beta2. You should
> retry to uninstall completely maven, delete all files put in your
> installation directory and all files put in your personal maven
> directory which is usually for windows XP and 2000 /c:/Documents and
> Settings/<your username>/.maven/
/I think he tried that, however he needs to try something.

cause I did a fresh checkout of 1.4.x and it works for me.

/