You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Pascal Aho <P....@gmx.net> on 2009/10/12 22:52:45 UTC
How to use org.apache.axiom.om within the project ode-bpel-runtime
Hi all,
I would like to use the following library
org.apache.axiom.om.OMElement;
org.apache.axiom.om.impl.builder.StAXOMBuilder;
within the project ode-bpel-runtime (I use ODE 1.3.2).
I add the axiom-api-1.2.5.jar to the project. But when I build the project
I get several errors but in eclipse I don't get any error. It can not
locate the packages
org.apache.axiom.om and org.apache.axiom.om.impl
I add the jar file like this:
1. Right click the project name and navigate to Build Path.
2. Select Configure Build Path... and the project properties window will
appear showing your build path configurations.
3. Select the Libraries tab.
4. Click Add External JARs...
5. Locate and select the JARs you want and click Open. The JARs will now
appear in the list of libraries in the build path.
I saw it doesn't look like the other libraries.
Why it doesn't work?
Thanks
Pascal
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
Re: How to use org.apache.axiom.om within the project
ode-bpel-runtime
Posted by Pascal Aho <P....@gmx.net>.
Hi Milinda,
Thank you for your Answer. It works fine.
Cheers,
Pascal.
-------- Original-Nachricht --------
> Datum: Tue, 13 Oct 2009 22:51:33 +0530
> Von: Milinda Pathirage <mi...@gmail.com>
> An: user@ode.apache.org
> Betreff: Re: How to use org.apache.axiom.om within the project ode-bpel-runtime
> You need to modify build script(Rakefile ) to get build working. You need
> to
> AXIOM dependency to ode-bpel-runtime modules compile.with projects
> section.
>
> Before adding AXIOM:
>
> desc "ODE Runtime Engine"
> define "bpel-runtime" do
> compile.from apt
> compile.with projects("bpel-api", "bpel-compiler", "bpel-dao",
> "bpel-epr", "bpel-obj", "bpel-schemas",
> "bpel-store", "jacob", "jacob-ap", "utils", "agents"),
> COMMONS.logging, COMMONS.collections, COMMONS.httpclient, JAXEN,
> JAVAX.persistence, JAVAX.stream, SAXON, WSDL4J, XMLBEANS
>
> test.with projects("scheduler-simple", "dao-jpa", "dao-hibernate",
> "bpel-epr"),
> BACKPORT, COMMONS.pool, COMMONS.lang, DERBY, JAVAX.connector,
> JAVAX.transaction,
> GERONIMO.transaction, GERONIMO.kernel, GERONIMO.connector, TRANQL,
> HSQLDB, JAVAX.ejb,
> LOG4J, XERCES, Buildr::OpenJPA::REQUIRES, XALAN
>
> package :jar
> end
>
>
>
> After Adding AXIOM:
>
> desc "ODE Runtime Engine"
> define "bpel-runtime" do
> compile.from apt
> compile.with projects("bpel-api", "bpel-compiler", "bpel-dao",
> "bpel-epr", "bpel-obj", "bpel-schemas",
> "bpel-store", "jacob", "jacob-ap", "utils", "agents"),
> COMMONS.logging, COMMONS.collections, COMMONS.httpclient, AXIOM,
> JAXEN, JAVAX.persistence, JAVAX.stream, SAXON, WSDL4J, XMLBEANS
>
> test.with projects("scheduler-simple", "dao-jpa", "dao-hibernate",
> "bpel-epr"),
> BACKPORT, COMMONS.pool, COMMONS.lang, DERBY, JAVAX.connector,
> JAVAX.transaction,
> GERONIMO.transaction, GERONIMO.kernel, GERONIMO.connector, TRANQL,
> HSQLDB, JAVAX.ejb,
> LOG4J, XERCES, Buildr::OpenJPA::REQUIRES, XALAN
>
> package :jar
> end
>
>
>
>
> On Tue, Oct 13, 2009 at 2:22 AM, Pascal Aho <P....@gmx.net> wrote:
>
> >
> > Hi all,
> >
> > I would like to use the following library
> > org.apache.axiom.om.OMElement;
> > org.apache.axiom.om.impl.builder.StAXOMBuilder;
> >
> > within the project ode-bpel-runtime (I use ODE 1.3.2).
> >
> > I add the axiom-api-1.2.5.jar to the project. But when I build the
> project
> > I get several errors but in eclipse I don't get any error. It can not
> > locate the packages
> > org.apache.axiom.om and org.apache.axiom.om.impl
> >
> > I add the jar file like this:
> > 1. Right click the project name and navigate to Build Path.
> > 2. Select Configure Build Path... and the project properties window
> will
> > appear showing your build path configurations.
> > 3. Select the Libraries tab.
> > 4. Click Add External JARs...
> > 5. Locate and select the JARs you want and click Open. The JARs will
> now
> > appear in the list of libraries in the build path.
> >
> > I saw it doesn't look like the other libraries.
> >
> > Why it doesn't work?
> >
> > Thanks
> >
> > Pascal
> >
> > --
> > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox
> 3.5
> > -
> > sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
> >
>
>
>
> --
> Milinda Pathirage
> Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
> WSO2 Inc.; http://wso2.com
> E-mail: milinda@wso2.com, milinda.pathirage@gmail.com
> Web: http://mpathirage.com
> Blog: http://blog.mpathirage.com
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Re: How to use org.apache.axiom.om within the project
ode-bpel-runtime
Posted by Milinda Pathirage <mi...@gmail.com>.
You need to modify build script(Rakefile ) to get build working. You need to
AXIOM dependency to ode-bpel-runtime modules compile.with projects section.
Before adding AXIOM:
desc "ODE Runtime Engine"
define "bpel-runtime" do
compile.from apt
compile.with projects("bpel-api", "bpel-compiler", "bpel-dao",
"bpel-epr", "bpel-obj", "bpel-schemas",
"bpel-store", "jacob", "jacob-ap", "utils", "agents"),
COMMONS.logging, COMMONS.collections, COMMONS.httpclient, JAXEN,
JAVAX.persistence, JAVAX.stream, SAXON, WSDL4J, XMLBEANS
test.with projects("scheduler-simple", "dao-jpa", "dao-hibernate",
"bpel-epr"),
BACKPORT, COMMONS.pool, COMMONS.lang, DERBY, JAVAX.connector,
JAVAX.transaction,
GERONIMO.transaction, GERONIMO.kernel, GERONIMO.connector, TRANQL,
HSQLDB, JAVAX.ejb,
LOG4J, XERCES, Buildr::OpenJPA::REQUIRES, XALAN
package :jar
end
After Adding AXIOM:
desc "ODE Runtime Engine"
define "bpel-runtime" do
compile.from apt
compile.with projects("bpel-api", "bpel-compiler", "bpel-dao",
"bpel-epr", "bpel-obj", "bpel-schemas",
"bpel-store", "jacob", "jacob-ap", "utils", "agents"),
COMMONS.logging, COMMONS.collections, COMMONS.httpclient, AXIOM,
JAXEN, JAVAX.persistence, JAVAX.stream, SAXON, WSDL4J, XMLBEANS
test.with projects("scheduler-simple", "dao-jpa", "dao-hibernate",
"bpel-epr"),
BACKPORT, COMMONS.pool, COMMONS.lang, DERBY, JAVAX.connector,
JAVAX.transaction,
GERONIMO.transaction, GERONIMO.kernel, GERONIMO.connector, TRANQL,
HSQLDB, JAVAX.ejb,
LOG4J, XERCES, Buildr::OpenJPA::REQUIRES, XALAN
package :jar
end
On Tue, Oct 13, 2009 at 2:22 AM, Pascal Aho <P....@gmx.net> wrote:
>
> Hi all,
>
> I would like to use the following library
> org.apache.axiom.om.OMElement;
> org.apache.axiom.om.impl.builder.StAXOMBuilder;
>
> within the project ode-bpel-runtime (I use ODE 1.3.2).
>
> I add the axiom-api-1.2.5.jar to the project. But when I build the project
> I get several errors but in eclipse I don't get any error. It can not
> locate the packages
> org.apache.axiom.om and org.apache.axiom.om.impl
>
> I add the jar file like this:
> 1. Right click the project name and navigate to Build Path.
> 2. Select Configure Build Path... and the project properties window will
> appear showing your build path configurations.
> 3. Select the Libraries tab.
> 4. Click Add External JARs...
> 5. Locate and select the JARs you want and click Open. The JARs will now
> appear in the list of libraries in the build path.
>
> I saw it doesn't look like the other libraries.
>
> Why it doesn't work?
>
> Thanks
>
> Pascal
>
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5
> -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
>
--
Milinda Pathirage
Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
WSO2 Inc.; http://wso2.com
E-mail: milinda@wso2.com, milinda.pathirage@gmail.com
Web: http://mpathirage.com
Blog: http://blog.mpathirage.com