# axis-java-user mailing list archives

##### Site index · List index
Message view
Top
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Compiling Eclipse plugins: story of my frustration
Date Sat, 07 Oct 2000 20:43:57 GMT
```Jira created for bug with target folder not created for 2-1.3
https://issues.apache.org/jira/browse/AXIS2-3250

BTW I could'nt reproduce the error with SAAJ Test
I went to the SAAJ test and ran the Attachment test individually
%AXIS2_HOME%\modules\saaj\mvn install

afterwards when I run mvn from the main distro folder %AXIS2_HOME%\mvn
all of the tests including the Attachment tests run to completion

Thanks
Martin
----- Original Message -----
From: "Thilina Gunarathne" <csethil@gmail.com>
To: <axis-user@ws.apache.org>
Sent: Sunday, October 07, 2007 2:20 PM
Subject: Re: Compiling Eclipse plugins: story of my frustration

> Hi,
> > I believe that environment has been reworked as the unit tests for
> > attachment are problematic
> Which test?? Please provide more details so that we can fix them..
>
> I do not understand why u needed to do all the following manualy..
> What's the  specific reason?. If there are any they need to be fixed..
> Please log jira's for them.
>
> thanks,
> Thilina
>
> > cd %AXIS2_HOME%\modules\webapp
> >
> > @echo "install version.aar"
> > mvn install:install-file -DgroupId=org.apachexis2 -DartifactId=version
> > -Dversion=1.3 -Dpackaging=aar
> > -Dfile=F:\AXIS\axis2-1\modules\repository\services\version.aar
> >
> > @echo "install woden"
> > mvn install:install-file -DgroupId=org.apache.woden -DartifactId=woden
> > -Dversion=1.0-incubating-M7b -Dpackaging=jar
>
> -Dfile=F:\woden\woden-incubating-1.0M7\lib\woden-api-1.0-incubating-M7.jar
> >
> > @echo "install jibx"
> > mvn
install:install-file -DgroupId=org.jibx.binding -DartifactId=jibx-bind
> > -Dversion=1.1.2 -Dpackaging=jar -Dfile=F:\JIBX\jibx-bind-1.1.2.jar
> >
> > @echo "create the necessary target folders (this will be off modules
> > folder)"
> > mkdir ..\webapp\target
> > mkdir .\tool\axis2-mar-maven-plugin\target
> > mkdir .\soapmonitor\target
> > mkdir .\scripting\target
> > mkdir ..\samples\version\target
> > mkdir .\saaj-api\target
> > mkdir ..\saaj\target
> > mkdir .\ping\target
> > mkdir .\mex-mar\target
> > mkdir ..\kernel\target
> > mkdir .\jws-api\target
> > mkdir .\jibx\target
> > mkdir ..\jaxws-api\target
> > mkdir .\java2wsdl\target
> > mkdir ..\fastinfoset\target
> > mkdir .\codegen\target
> >
> > @echo "since the folder are in place and dependent jars in repository
build
> > the project"
> > mvn --debug install
> >
> > @echo "note the war should be in \target folder"
> > dir .\target\*.war
> >
> > HTH
> > Martin--
> >
> > ----- Original Message -----
> > From: Seref Arikan
> > To: axis-user@ws.apache.org
> >
> > Sent: Sunday, October 07, 2007 10:21 AM
> > Subject: Re: Compiling Eclipse plugins: story of my frustration
> >
> > I've started with maven2 actually. I've checked out the previous
releases,
> > and at the moment, the build doc seems to be completely out of sync with
the
> > source tree. I'll put a jiraa for it.
> >
> >
> > Thilina Gunarathne wrote:
> > I can see a pom.xml in there. The plugin build seems to be moved to
> > maven2 after the recent migration of Axis2 from maven1 to maven2..
> >
> > Install maven2 and try typing mvn install in the plugin dir. I'm not
> > sure whether you'll need to do a full Axis2 build before that.
> >
> > Please put a jira for the incorrect building doc..
> >
> > ~Thilina
> >
> > On 10/7/07, Seref Arikan
> > <serefarikan@kurumsalteknoloji.com> wrote:
> >
> >
> > Hi Martin,
> > I believe my problem is that I can't do maven create-lib How do I do
> > this? When I issue this in console in windows xp, maven says this is not
> > a valid request.
> > ant generate-projects in tools dir fails, since it can not find a libs
> > directory, which I assume will be created by maven, but how?
> >
> > All the best
> > Seref
> >
> >
> > Martin Gainty wrote:
> >
> >
> > Hello Seref
> >
> > Its not eclipse ..apparently the axiom build is erroring out
> >
> > this is from dims..
> > ~/.m2/repository/org/apache/ws/commons/axiom
> > directory and run the geronimo build again. I have cleaned up the bad
> > jar this morning in apache maven2-snapshots
> >
> > (I too have noticed this error while building 2.1.1)
> >
\axis2-1.1\src\java\modules\kernel\src\org\apache\axis2\util\Builder.java:[2
> > 1,40] cannot find symbol
> > symbol : class OMBuilder
> > location: package org.apache.axiom.om.impl.builder
> >
> > Martin--
> > ----- Original Message -----
> > From: "Seref Arikan" <serefarikan@kurumsalteknoloji.com>
> > To: <axis-user@ws.apache.org>
> > Sent: Saturday, October 06, 2007 10:28 AM
> > Subject: Compiling Eclipse plugins: story of my frustration
> >
> >
> >
> >
> >
> > Hi,
> > I have spent hours trying to get an eclipse project for the axis2 server
> > archiver plugin, and I have given up finally. The following is the
> > effort of my summary and my hours lost. I'd appreciate your comments.
> >
> > There are two readme files that I can refer, and the first one is in the
> > root of the axis2 source, and the other one is in the tools dir.
> >
> > The tools dir readme contains two sections, one for maven, and one for
> > ant. Ok. I have never used ant before, so I tried ant. The instructions
> > are either not clear, or I'm remarkably stupid. Let me write my comments
> > under the instructions:
> >
> > * Since the source for the tools has a dependency on the eclipse
> > classes. one has to run the
> >  ant build file (build.xml) to generate a relevant eclipse project
> > from the source.
> > Ok, so what do I do here? a simple ant command gives me a list of
> > operations that I can run, so what does the following sentence mean in
> > the context of a step by step operation, what command should a user
> > execute at this step if he is trying to create the projects?
> >
> > * In order to compile the plugin first you must do a maven create-lib on
> > Axis2 Source and
> >  set ECLIPSE_HOME environment variable to point to your eclipse
> > home directory.
> >
> > Ok. so I need maven, fine, I download it, and try maven create-lib in
> > the root source dir, since this is what I get from this sentence. WTF?
> > there is no maven create-lib. is it mvn create-lib? no it is not, since
> > maven tells me I need to specify something else, and create-lib is not
> > meaningful. Ok. so I'm an idiot, and I should try to skip this part,
> > maybe it works....
> >
> >
> > * use the ant generate-projects command to generate the plugin projects.
> > I tried to use it, but I get an error about missing entitities... so I
> > fail..
> >
> > I have tried to maven way, but even if I tried to follow the
> > instructions, maven simply failed everytime, with wonderfully cryptic
> > errors, for which I could not find a solution after quite a bit of
> >
> > Why I need this plugin source? Because the plugin has a problem with
> > generating aar that uses hibernate POJOs, and I thought I could take a
> > look at it. After all, I have written a few eclipse plugins, and this is
> > open source, maybe I can fix it and contribute..
> >
> > As a result, I have lost hours. I could have gone to another direction
> > by choosing another web services stack, but Axis2 is what I want to use.
> > Maybe I'm missing something here, since I'm very nervous due to a tight
> > deadline, but the overall guidance for the process, in terms of document
> > is a disaster. At least for me. When I download the source of an
> > application, I expect to find a brief guidance that tells me where to
> > look actually, if it does not outline the whole story.
> >
> > All your comments are appreciated. I'm using many open source tools, and
> > I have never failed so miserably for a such a simple task. Am I really
> > this stupid? (sorry, I'm really pissed off)
> >
> > Best Regards
> > Seref Arikan
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> --
> Thilina Gunarathne  - http://thilinag.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org