|
| Apache Geronimo > Discussion Forums | User List | Dev List | Wiki | Issue Tracker |
|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
helpHi, I am 100% new. I could not find help anywhere. Anybody can tell me where is my help? Thanks first. I want to learn geronimo and do some develop for it if possible. I followed the instruction from apache-geronimo page "How to Build Geronimo Eclipse Plugin from Source" 1. installed Apache Maven 2.0.9
I always got error, missing something or run test error. Thanks Fei Li |
|
|
Re: helpHi 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:
I haven't tried to build devtools, recently. Will give it a try... --kevan |
|
|
Re: helpPlease post the exact build errors you are seeing.
Also, most GEP developers build the latest 2.2 server before trying to build GEP, so you'll have all of the required depends already installed in your local m2 repo..... -Donald Fei LI wrote: > > Hi, > > I am 100% new. > > I could not find help anywhere. Anybody can tell me where is my help? > > Thanks first. > > I want to learn geronimo and do some develop for it if possible. I > followed the instruction from apache-geronimo page "How to Build > Geronimo Eclipse Plugin from Source" > > 1. installed Apache Maven 2.0.9 > 2.get source code from > _http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk_ > 3. set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m 3. run command mvn clean > install -Ptestsuite. > > I always got error, missing something or run test error. > > Thanks > > Fei Li > > |
|
|
RE: helpHi 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:kevan.miller@...] Sent: Wednesday, November 04, 2009 11:19 AM To: Geronimo Dev Cc: Fei LI Subject: Re: help 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:
I haven't tried to build devtools, recently. Will give it a try...
--kevan
|
|
|
RE: helpHi Donald,
Thanks for your answer and I tried to build the server first, and I got error message: " [INFO] Unable to find resource 'org.apache.geronimo.bundles:commons-cli:jar:1.0_1-SNAPSHOT' in repository apache.snapshots (http://repository.apache.org/snapshots) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.geronimo.bundles:commons-cli:jar:1.0_1-SNAPSHOT " My building environment is: Windows XP apache-maven-2.2.0 Source code from: https://svn.apache.org/repos/asf/geronimo/server/trunk Any suggestion? Thanks Fei Li -----Original Message----- From: Donald Woods [mailto:dwoods@...] Sent: Wednesday, November 04, 2009 11:25 AM To: dev@... Cc: Fei LI Subject: Re: help Please post the exact build errors you are seeing. Also, most GEP developers build the latest 2.2 server before trying to build GEP, so you'll have all of the required depends already installed in your local m2 repo..... -Donald Fei LI wrote: > > Hi, > > I am 100% new. > > I could not find help anywhere. Anybody can tell me where is my help? > > Thanks first. > > I want to learn geronimo and do some develop for it if possible. I > followed the instruction from apache-geronimo page "How to Build > Geronimo Eclipse Plugin from Source" > > 1. installed Apache Maven 2.0.9 > 2.get source code from > _http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trun > k_ 3. set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m 3. run command mvn > clean install -Ptestsuite. > > I always got error, missing something or run test error. > > Thanks > > Fei Li > > |
|
|
Re: helpFor 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:kevan.miller@...] > *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 |
|
|
Re: helpAs mentioned in the other email, you want the Server 2.2 branch -
https://svn.apache.org/repos/asf/geronimo/server/branches/2.2 Server trunk is undergoing major changes to OSGi right now and GEP trunk (2.2.0) has to be built against a 2.2 server.... -Donald Fei LI wrote: > Hi Donald, > > Thanks for your answer and I tried to build the server first, and I got > error message: > " > [INFO] Unable to find resource > 'org.apache.geronimo.bundles:commons-cli:jar:1.0_1-SNAPSHOT' in > repository apache.snapshots (http://repository.apache.org/snapshots) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.apache.geronimo.bundles:commons-cli:jar:1.0_1-SNAPSHOT > " > > > My building environment is: > Windows XP > apache-maven-2.2.0 > Source code from: https://svn.apache.org/repos/asf/geronimo/server/trunk > > > > Any suggestion? > > Thanks > > Fei Li > > > > > -----Original Message----- > From: Donald Woods [mailto:dwoods@...] > Sent: Wednesday, November 04, 2009 11:25 AM > To: dev@... > Cc: Fei LI > Subject: Re: help > > Please post the exact build errors you are seeing. > > Also, most GEP developers build the latest 2.2 server before trying to > build GEP, so you'll have all of the required depends already installed > in your local m2 repo..... > > > -Donald > > > Fei LI wrote: >> Hi, >> >> I am 100% new. >> >> I could not find help anywhere. Anybody can tell me where is my help? >> >> Thanks first. >> >> I want to learn geronimo and do some develop for it if possible. I >> followed the instruction from apache-geronimo page "How to Build >> Geronimo Eclipse Plugin from Source" >> >> 1. installed Apache Maven 2.0.9 >> 2.get source code from >> _http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trun >> k_ 3. set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m 3. run command mvn >> clean install -Ptestsuite. >> >> I always got error, missing something or run test error. >> >> Thanks >> >> Fei Li >> >> > |
|
|
RE: helpHi 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:dwoods@...] Sent: Wednesday, November 04, 2009 1:05 PM To: dev@... 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:kevan.miller@...] > *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 > > I haven't tried to build devtools, recently. Will give it a try... > > --kevan |
|
|
Re: helpAs I mentioned in one of the replies, on Windows you need to use a very
short directory path when building the server, due to Windows not handling long paths/filenames correctly. Try moving your geronimo_server directory to C:\ and then renaming to something like "g22" and try running the build again.... -Donald Fei LI wrote: > 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:dwoods@...] > Sent: Wednesday, November 04, 2009 1:05 PM > To: dev@... > 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:kevan.miller@...] >> *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 > |
| Free embeddable forum powered by Nabble | Forum Help |
