As I mentioned in my earlier reply, try to checkout and build the
Geronimo 2.2 Server in a very short directory path on Windows, like -
C:\g22\
There are known issues in how Windows handles long file and path names,
which Maven loves to create....
-Donald
Fei LI wrote:
Hi Forrest,
The following is my test on building server 2.2 and error message
emailed to Donald. You may know the reason.
Thanks
Fei Li
-----Original Message-----
From: Fei LI [mailto:[email protected]]
Sent: Thursday, November 05, 2009 10:45 AM
To: Donald Woods; [email protected]
Subject: RE: help
Hi Donald,
Thanks for your help first. There was an error:
"
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to delete directory:
C:\JavaFinance\projects\geronimo_server\plugins\axis\axis-deployer\targe
t. Reason: Unable to delete directory C:\JavaFinance\
projects\geronimo_server\plugins\axis\axis-deployer\target\repository\or
g
"
And the error was solved by uncheck "ReadOnly" for all files and
folders.
Then I re-run build, and got error:
"
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
C:\JavaFinance\projects\geronimo_server\plugins\axis2\geronimo-axis2\src
\test\java\org\apache\geronimo\axis2\Axis2WebServiceContainerTest.java:[
105,48] cannot find symbol
symbol : method getTextContent()
location: interface org.w3c.dom.Element
"
My environment is:
1. Maven 2.0.10
2. jdk1.5.0_22 (latest from Sun)
3. svn https://svn.apache.org/repos/asf/geronimo/server/branches/2.2
4. mvn clean install -DfailIfNoTests=false -Dtest=
Thanks
Fei Li
-----Original Message-----
From: Donald Woods [mailto:[email protected]]
Sent: Wednesday, November 04, 2009 1:05 PM
To: [email protected]
Cc: Fei LI
Subject: Re: help
For the 2.2 based projects -
Maven 2.0.10
Java 5 (latest 1.5.0 from Sun or IBM)
First, build the server without tests -
1) svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.2
g22
Note: for Windows, extract to a drive root to minimize the path length
used, like C:\g22
2) cd g22
3) mvn clean install -DfailIfNoTests=false -Dtest=
Next, build GEP 2.2.0 (but not the testsuite) -
1) svn co
https://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk
gep-trunk
2) cd gep-trunk
3) mvn clean install
If all went well, then you can try running the testsuite -
1) cd testsuite
2) mvn clean install
-Donald
Fei LI wrote:
Hi Kevan,
I am so glad to have your answer. Yes, I sent to everyone because I do
not know if my email reached anybody. I always get my own email back.
I do not know what that means. Blocked? Bumped? Accepted but nobody
answer?
After you fix it, can you simply give me what procedure to follow? I
need a success build without error.
1. which Maven version to try.
2. which SVN path to retrieve source code.
3. which Maven commend to use: "mvn clean install -Ptestsuite"
Thanks
Fei Li
----------------------------------------------------------------------
--
*From:* Kevan Miller [mailto:[email protected]]
*Sent:* Wednesday, November 04, 2009 11:19 AM
*To:* Geronimo Dev
*Cc:* Fei LI
*Subject:* Re: help
Hi Fei,
Please try and limit your email topics to a single mailing list.
Donald Woods responded to your first question as follows:
On Nov 3, 2009, at 8:05 PM, Donald Woods wrote:
Before building the Eclipse Plugins (GEP 2.2.0) you'll need to build
a Geronimo 2.2-SNAPSHOT server locally (from geronimo/brnaches/2.2),
as the artifacts out on the SNAPSHOT repo are really old. I've
started a build to publish the latest 2.2-SNAPSHOT artifacts out, to
get one last one out there before we have a 2.2 RC to start testing,
but it'll take several hours for the publish to finish. The best
bet, is to always build the latest server code before trying to build
GEP....
I haven't tried to build devtools, recently. Will give it a try...
--kevan