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 <[email protected]> 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: [email protected], [email protected]
Web: http://mpathirage.com
Blog: http://blog.mpathirage.com

Reply via email to