axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: Compiling Eclipse plugins: story of my frustration
Date Sat, 07 Oct 2000 15:56:31 GMT
I believe that environment has been reworked as the unit tests for attachment are problematic
I would download 2.1.3 and start with that with these tweaks

cd %AXIS2_HOME%\modules\webapp

@echo "install version.aar"
mvn install:install-file -DgroupId=org.apachexis2 -DartifactId=version -Dversion=1.3 -Dpackaging=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
mkdir ..\addressing\target
mkdir ..\adb-codegen\target
mkdir ..\adb\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

  ----- Original Message ----- 
  From: Seref Arikan 
  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

  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..


On 10/7/07, Seref Arikan <> 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

Martin Gainty wrote:
    Hello Seref

Its not eclipse ..apparently the axiom build is erroring out

this is from dims..
Please remove your ~/.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)
1,40] cannot find symbol
symbol  : class OMBuilder
location: package

----- Original Message -----
From: "Seref Arikan" <>
To: <>
Sent: Saturday, October 06, 2007 10:28 AM
Subject: Compiling Eclipse plugins: story of my frustration

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

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
google search.

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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:


  --------------------------------------------------------------------- To unsubscribe, e-mail: For additional commands, e-mail:

View raw message