facebook

Building openMDX application

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #252258 Reply

    arupsarkar
    Member

    Hi:

    I am getting an error in the build.xml, the error is at the
    following line.

    <project
    name=”openmdx-core”
    default=”-projecthelp”
    xmlns:openmdx=”xri://(antlib:org.openmdx.tools.ant)”
    xmlns:antcontrib=”antlib:net.sf.antcontrib”
    xmlns:ivy=”xri://(antlib:fr.jayasoft.ivy.ant)”
    >

    The error is as follows:

    “Multiple markers at this line” cvc-elt. 1: Cannot find the declaration of the element “project”

    I cannot resolve it, any help will be appreciated.

    Regards
    Arup

    #252271 Reply

    Riyad Kalla
    Member

    Arup,
    Would you be able to post the entire file?

    #252286 Reply

    arupsarkar
    Member

    Riyad: Thanks for replying, below is my build.xml, just wanted to mention I have a similar project tag in another eclipse project, there I am not getting any error.

    Regards
    Arup

    /************************** build.xml *************************************/

    <project
    name=”openmdx-core”
    default=”-projecthelp”
    xmlns:openmdx=”xri://(antlib:org.openmdx.tools.ant)”
    xmlns:antcontrib=”antlib:net.sf.antcontrib”
    xmlns:ivy=”xri://(antlib:fr.jayasoft.ivy.ant)”
    >

    <description>Builds the openMDX/Core component</description>
    <property name=”project.specification.title” value=”openMDX/Core”/>

    <!– Slash separated platform list, the last entry being the default –>
    <property name=”project.platform.list” value=”jre-1.5/jre-1.4″/>

    <!– Override the default values –>
    <property name=”model.transformation.class.path” value=”openmdx.bootstrap.bin”/>

    <!– Included Ant Projects –>
    <import file=”D:/mdx-helloworld/openmdx-1.12.1/ant/etc/ant/build-properties.xml”/>
    <!– <import file=”../ant/etc/ant/build-library.xml”/> –>
    <import file=”D:/mdx-helloworld/openmdx-1.12.1/ant/etc/ant/build-library.xml”/>

    <path id=”project.lib.classpath”>
    <path refid=”java2.enterprise.lib”/>
    <path refid=”java2.extension.lib”/>
    <pathelement location=”${openmdx.home}/java2/${build.java.platform}/extension/lib/openxri-syntax.jar”/>
    </path>
    <path id=”project.bin.classpath”>
    <path refid=”openmdx.core.bin”/>
    </path>
    <patternset id=”project.rmi.jrmp.classes”>
    <include name=”org/openmdx/base/stream/rmi/jrmp/*”/>
    <include name=”org/openmdx/base/stream/rmi/iiop/*”/>
    <include name=”org/openmdx/kernel/naming/spi/rmi/*”/>
    <include name=”org/openmdx/compatibility/application/dataprovider/transport/ejb/lightweight/*”/>
    </patternset>
    <patternset id=”project.rmi.iiop.classes”>
    <include name=”org/openmdx/base/stream/rmi/iiop/*”/>
    </patternset>

    <!– ******************************************************************* –>
    <!– * generate –>
    <!– ******************************************************************* –>
    <target
    name=”bootstrap”
    depends=”build-init”
    description=”Generate version and jt dependend files”
    >
    <antcall target=”-preprocess-version-files-“>
    <param name=”version-file.packages” value=”org.openmdx.kernel,org.openmdx.base,org.openmdx.application”/>
    <param name=”version-file.property-file” location=”${openmdx.home}/openmdx.version.properties”/>
    <param name=”version-file.template-file” location=”${basedir}/etc/ant/Version.java.template”/>
    </antcall>
    <antcall target=”-preprocess-jt-files-“>
    <param name=”preprocess-jt.target” value=”java”/>
    </antcall>
    <fail message=”JRE ${build.target.jre} not found” unless=”build.target.jre.found”/>
    <javac
    destdir=”${build.dir}/bin”
    debug=”${build.debug}”
    optimize=”${build.optimize}”
    fork=”true”
    memoryMaximumSize=”256m”
    classpathref=”project.lib.classpath”
    source=”${build.source.version}”
    target=”${build.target.version}”
    bootclasspath=”${build.target.jre}/lib/rt.jar”
    extdirs=”${build.target.jre}/ext”
    >
    <src>
    <pathelement location=”${build.dir}/src/java”/>
    <pathelement location=”${basedir}/src/java”/>
    </src>
    <include name=”javax/jmi/**/*.java”/>
    <include name=”org/openmdx/uses/**/*.java”/>
    <include name=”org/openmdx/kernel/**/*.java”/>
    <include name=”org/openmdx/base/**/*.java”/>
    <include name=”org/openmdx/compatibility/kernel/**/*.java”/>
    <include name=”org/openmdx/compatibility/base/**/*.java”/>
    <include name=”org/openmdx/model1/**/*.java”/>
    <exclude name=”org/openmdx/kernel/application/**/*.java”/>
    <exclude name=”org/openmdx/base/gui/**/*.java”/>
    <exclude name=”org/openmdx/base/accessor/jmi/**/*.java”/>
    <exclude name=”org/openmdx/uses/javax/xml/**/*.java”/>
    <exclude name=”org/openmdx/uses/org/apache/xerces/internal/**/*.java”/>
    <patternset refid=”build.exclude”/>
    </javac>
    <available
    file=”${openmdx.home}/ant/build.xml”
    type=”file”
    property=”generate-ant.required”
    />
    </target>

    <target
    name=”generate”
    description=”Bootstrap and generate model dependend files”
    depends=”bootstrap,generate-ant,generate-jaxp,generate-xri”
    >
    <antcall target=”-preprocess-model-files-“/>
    <jar
    destfile=”${build.dir}/lib/${ant.project.name}.rmi.jar”
    update=”true”
    />
    </target>

    <target
    name=”generate-ant”
    depends=”bootstrap”
    if=”generate-ant.required”
    description=”Prepare ant if it is a source or binary distribution”
    >
    <!– ant
    dir=”${openmdx.home}/ant”
    target=”deliverables”
    /–>
    </target>

    <target
    name=”generate-jaxp”
    description=”Include the required JAXP 1.3 classes”
    depends=”-platform-init”
    if=”platform.is.jre-1.4″
    >
    <openmdx:unarchive dest=”${build.dir}/bin”>
    <fileset dir=”${openmdx.home}/java2/jre-1.4/endorsed/lib”>
    <include name=”jaxp-api.jar”/>
    <include name=”xercesImpl.jar”/>
    </fileset>
    <patternset refid=”openmdx-base.jaxp-1.3″/>
    </openmdx:unarchive>
    <openmdx:archive
    destfile=”${build.dir}/lib/openmdx-jaxp.”
    format=”jar”
    >
    <openmdx:manifest>
    <attribute name=”Specification-Title” value=”Java API for XML Processing”/>
    <attribute name=”Specification-Version” value=”1.3″/>
    <attribute name=”Specification-Vendor” value=”Sun Microsystems, Inc.”/>
    <attribute name=”Implementation-Title” value=”Java API for XML Processing Partial Implementation”/>
    </openmdx:manifest>
    <openmdx:archivefileset dir=”${build.dir}/bin”>
    <patternset refid=”openmdx-base.jaxp-1.3″/>
    </openmdx:archivefileset>
    </openmdx:archive>
    </target>
    <target
    name=”generate-xri”
    description=”Include the required XRI classes”
    depends=”-platform-init”
    >
    <openmdx:unarchive dest=”${build.dir}/bin”>
    <fileset dir=”${openmdx.home}/java2/${build.java.platform}/extension/lib”>
    <include name=”openxri-syntax.jar”/>
    </fileset>
    <patternset refid=”openmdx-base.openxri-syntax”/>
    </openmdx:unarchive>
    </target>

    <target
    name=”-platform-init”
    depends=”build-init”
    >
    <patternset id=”openmdx-base.jaxp-1.3″>
    <include name=”javax/xml/*”/>
    <include name=”javax/xml/datatype/*”/>
    <include name=”javax/xml/namespace/*”/>
    <include name=”com/sun/org/apache/xerces/internal/jaxp/datatype/*”/>
    <include name=”com/sun/org/apache/xerces/internal/util/DatatypeMessageFormatter.*”/>
    </patternset>
    <patternset id=”openmdx-base.openxri-syntax”>
    <include name=”org/openxri/*”/>
    </patternset>
    <condition property=”platform.is.jre-1.4″>
    <equals arg1=”${build.target.platform}” arg2=”jre-1.4″ />
    </condition>
    </target>

    <!– ******************************************************************* –>
    <!– * java-archives –>
    <!– ******************************************************************* –>
    <target
    name=”java-archives”
    depends=”deliverables-init,build”>

    <patternset id=”openmdx-kernel.jre-1.5″>
    <include name=”javax/jmi/reflect/**”/>
    <include name=”org/openmdx/kernel/**”/>
    <include name=”org/openmdx/compatibility/kernel/**”/>
    <include name=”org/openmdx/uses/gnu/**”/>
    <include name=”org/openmdx/uses/org/apache/commons/collections/**”/>
    <include name=”org/openmdx/uses/org/apache/commons/pool/**”/>
    <include name=”org/openmdx/uses/org/apache/commons/transaction/**”/>
    <include name=”org/openmdx/uses/org/apache/regexp/**”/>
    <include name=”org/openmdx/uses/org/apache/xml/**”/>
    <include name=”org/openxri/**”/>
    <include name=”org/slf4j/**”/>
    </patternset>
    <patternset id=”openmdx-kernel.jre-1.4″>
    <patternset refid=”openmdx-kernel.jre-1.5″/>
    <include name=”org/openmdx/uses/java/**”/>
    <include name=”org/openmdx/uses/javax/**”/>
    <exclude name=”org/openmdx/uses/javax/xml/**”/>
    </patternset>
    <openmdx:archive
    destfile=”${deliver.dir}/lib/openmdx-kernel.jar”
    format=”jar”
    >
    <openmdx:manifest refid=”project.manifest”/>
    <openmdx:manifest>
    <attribute name=”Specification-Title” value=”${project.specification.title} Library kernel”/>
    <attribute name=”Implementation-Title” value=”openmdx-kernel for ${build.target.platform}”/>
    </openmdx:manifest>
    <openmdx:archivefileset dir=”${build.dir}/bin”>
    <patternset id=”openmdx-kernel.jar.content”>
    <patternset refid=”openmdx-kernel.${build.java.platform}”/>
    </patternset>
    </openmdx:archivefileset>
    <openmdx:archivefileset dir=”${basedir}/src/resource”>
    <patternset refid=”openmdx-kernel.jar.content”/>
    </openmdx:archivefileset>
    <openmdx:archivefileset src=”${build.dir}/model/${ant.project.name}.openmdx-xmi.zip”>
    <patternset refid=”openmdx-kernel.jar.content”/>
    </openmdx:archivefileset>
    </openmdx:archive>

    <patternset id=”openmdx-base.jre-1.5″>
    <include name=”javax/jdo/**”/>
    <include name=”net/**”/>
    <include name=”org/cci/*”/>
    <include name=”org/iso/**”/>
    <include name=”org/oasis_open/**”/>
    <include name=”org/omg/**”/>
    <include name=”org/openmdx/base/**”/>
    <include name=”org/openmdx/compatibility/base/**”/>
    <include name=”org/openmdx/*1/**”/>
    <include name=”org/openmdx/compatibility/*1/**”/>
    <include name=”org/un/**”/>
    <include name=”org/w3c/**”/>
    <include name=”org/xmi/*”/>
    <include name=”org/openmdx/uses/javax/xml/**”/>
    <include name=”org/openmdx/uses/org/apache/xerces/**”/>
    </patternset>
    <patternset id=”openmdx-base.jre-1.4″>
    <patternset refid=”openmdx-base.jre-1.5″/>
    <patternset refid=”openmdx-base.jaxp-1.3″/>
    </patternset>
    <openmdx:archive
    destfile=”${deliver.dir}/lib/openmdx-base.jar”
    format=”jar”
    >
    <openmdx:manifest refid=”project.manifest”/>
    <openmdx:manifest>
    <attribute name=”Specification-Title” value=”${project.specification.title} Library base”/>
    <attribute name=”Implementation-Title” value=”openmdx-base for ${build.target.platform}”/>
    </openmdx:manifest>
    <openmdx:archivefileset dir=”${build.dir}/bin”>
    <patternset id=”openmdx-base.jar.content”>
    <patternset refid=”openmdx-base.${build.java.platform}”/>
    </patternset>
    </openmdx:archivefileset>
    <openmdx:archivefileset dir=”${basedir}/src/resource”>
    <patternset refid=”openmdx-base.jar.content”/>
    </openmdx:archivefileset>
    <openmdx:archivefileset src=”${build.dir}/model/${ant.project.name}.openmdx-xmi.zip”>
    <patternset refid=”openmdx-base.jar.content”/>
    </openmdx:archivefileset>
    </openmdx:archive>

    <openmdx:archive
    destfile=”${deliver.dir}/lib/openmdx-application.jar”
    format=”jar”
    >
    <openmdx:manifest refid=”project.manifest”/>
    <openmdx:manifest>
    <attribute name=”Specification-Title” value=”${project.specification.title} Library application”/>
    <attribute name=”Implementation-Title” value=”openmdx-application for ${build.target.platform}”/>
    </openmdx:manifest>
    <openmdx:archivefileset dir=”${build.dir}/bin”>
    <patternset id=”openmdx-application.jar.content”>
    <include name=”org/openmdx/application/**”/>
    <include name=”org/openmdx/compatibility/application/**”/>
    <include name=”org/openmdx/uses/org/apache/commons/fileupload/**”/>
    </patternset>
    </openmdx:archivefileset>
    <openmdx:archivefileset dir=”${basedir}/src/resource”>
    <patternset refid=”openmdx-application.jar.content”/>
    </openmdx:archivefileset>
    <openmdx:archivefileset src=”${build.dir}/model/${ant.project.name}.openmdx-xmi.zip”>
    <patternset refid=”openmdx-application.jar.content”/>
    </openmdx:archivefileset>
    </openmdx:archive>

    </target>

    <!– ******************************************************************* –>
    <!– * web-archives –>
    <!– ******************************************************************* –>
    <target name=”web-archives” depends=”deliverables-init,java-archives”>
    <mkdir dir=”${deliver.dir}/deployment-unit”/>
    <openmdx:archive
    format=”jar”
    destfile=”${deliver.dir}/deployment-unit/openmdx-log-console.war”
    >
    <openmdx:manifest refid=”project.manifest”/>
    <openmdx:manifest>
    <attribute name=”Specification-Title” value=”${project.specification.title} WebAplication Log Console”/>
    <attribute name=”Implementation-Title” value=”openmdx-log-console for ${build.target.platform}”/>
    </openmdx:manifest>
    <openmdx:archivefileset dir=”src/war/openmdx-log-console.war” />
    </openmdx:archive>
    <openmdx:archive
    format=”war”
    destfile=”${deliver.dir}/deployment-unit/openmdx-log-sink.war”
    >
    <openmdx:manifest refid=”project.manifest”/>
    <openmdx:manifest>
    <attribute name=”Specification-Title” value=”${project.specification.title} WebAplication Log Sink”/>
    <attribute name=”Implementation-Title” value=”openmdx-log-sink for ${build.target.platform}”/>
    </openmdx:manifest>
    <openmdx:archivefileset dir=”src/war/openmdx-log-sink.war”/>
    <openmdx:archivefileset
    prefix=”WEB-INF/lib”
    dir=”${deliver.dir}/lib”
    >
    <include name=”openmdx-application.jar”/>
    </openmdx:archivefileset>
    <openmdx:archivefileset
    prefix=”WEB-INF/classes”
    dir=”build/${build.target.platform}/bin”
    >
    <include name=”org/openmdx/application/servlet/log/**”/>
    </openmdx:archivefileset>
    </openmdx:archive>
    <openmdx:archive
    format=”war”
    destfile=”${deliver.dir}/deployment-unit/openmdx-junit.war”
    >
    <openmdx:manifest refid=”project.manifest”/>
    <openmdx:manifest>
    <attribute name=”Specification-Title” value=”${project.specification.title} WebAplication JUnit”/>
    <attribute name=”Implementation-Title” value=”openmdx-junit for ${build.target.platform}”/>
    </openmdx:manifest>
    <openmdx:archivefileset dir=”src/war/openmdx-junit.war”/>
    <openmdx:archivefileset
    prefix=”WEB-INF/lib”
    dir=”${openmdx.home}/java2/${build.target.platform}/extension”
    >
    <include name=”junit.jar”/>
    </openmdx:archivefileset>
    <openmdx:archivefileset
    prefix=”WEB-INF/lib”
    dir=”${deliver.dir}/lib”
    >
    <include name=”openmdx-application.jar”/>
    </openmdx:archivefileset>
    <openmdx:archivefileset
    prefix=”WEB-INF/classes”
    dir=”build/${build.target.platform}/bin”
    >
    <include name=”org/openmdx/application/servlet/junit/**”/>
    </openmdx:archivefileset>
    </openmdx:archive>
    <openmdx:archive
    format=”jar”
    destfile=”${deliver.dir}/deployment-unit/openmdx-inspector.war”
    >
    <openmdx:manifest refid=”project.manifest”/>
    <openmdx:manifest>
    <attribute name=”Specification-Title” value=”${project.specification.title} WebAplication Inspector Template”/>
    <attribute name=”Implementation-Title” value=”openmdx-inspector for ${build.target.platform}”/>
    </openmdx:manifest>
    <openmdx:archivefileset dir=”src/war/openmdx-inspector.war”/>
    </openmdx:archive>
    </target>

    <!– ******************************************************************* –>
    <!– * Deliverables –>
    <!– ******************************************************************* –>
    <target
    name=”deliverables”
    description=”Populates the project’s distribution directory”
    depends=”java-archives,web-archives,source-archives”
    />

    <!– ******************************************************************* –>
    <!– * test –>
    <!– ******************************************************************* –>
    <target name=”test”/>

    <!– ******************************************************************* –>
    <!– * Distribution –>
    <!– ******************************************************************* –>
    <target
    name=”distribution” description=”Creates the distribution archives”
    depends=”distribution-init,deliverables”
    >
    <openmdx:archive
    destfile=”${distribution.dir}/openmdx-${project.implementation.version}-core.${build.target.platform}.”
    format=”${distribution.format}”
    checksum=”MD5″
    >
    <openmdx:archivefileset
    dir=”${basedir}”
    prefix=”${project.implementation.prefix}-${project.implementation.version}/${base.dir.name}”
    >
    <include name=”*LICENSE”/>
    <include name=”NOTICE”/>
    <include name=”README”/>
    <include name=”RELEASE-NOTES”/>
    <include name=”build.xml”/>
    <include name=”*.properties”/>
    <include name=”.cvsignore”/>
    <include name=”etc/**”/>
    <include name=”thirdparty/*”/>
    <include name=”thirdparty/bin/**”/>
    <exclude name=”thirdparty/bin/windows/**” if=”unix.distribution” />
    </openmdx:archivefileset>
    <openmdx:archivefileset
    dir=”${project.home}”
    prefix=”${project.implementation.prefix}-${project.implementation.version}”
    >
    <include name=”source-archive/core/**”/>
    <include name=”${build.target.platform}/core/lib/j2ee-apis.jar”/>
    <include name=”${build.target.platform}/core/deployment-unit/*”/>
    <include name=”${build.target.platform}/core/lib/*”/>
    <include name=”${build.target.platform}/core/src/*”/>
    <exclude name=”${build.target.platform}/core/src/*/*.jsl.*”/>
    <include name=”openmdx.version.properties”/>
    <include name=”jre-1.2/ant/lib/*”/>
    <include name=”ant/etc/ant/*”/>
    <include name=”jayasoft/jre-1.4/ivy/lib/*”/>
    <include name=”apache/jre-1.2/contribution/lib/*”/>
    <include name=”java2/${build.target.platform}/**”/>
    <exclude name=”java2/${build.target.platform}/**/.settings/*”/>
    <exclude name=”java2/${build.target.platform}/**/.classpath”/>
    <exclude name=”java2/${build.target.platform}/**/.project”/>
    </openmdx:archivefileset>
    </openmdx:archive>
    </target>

    <!– ******************************************************************* –>
    <!– * Java API Documentation –>
    <!– ******************************************************************* –>
    <target name=”api-doc” description=”Generate the Java API documentation” depends=”api-doc-init” unless=”api-doc.is.up-to-date”>
    <mkdir dir=”${build.dir}/doc/api”/>
    <javadoc
    destdir=”${build.dir}/doc/api”
    author=”true”
    version=”true”
    locale=”en”
    use=”true”
    windowtitle=”${project.specification.title} API”
    doctitle=”${project.specification.title} API ${project.specification.version}”
    maxmemory=”512m”
    >
    <packageset dir=”${basedir}/src/java”/>
    <packageset dir=”${build.dir}/src/java”/>
    <classpath refid=”project.bin.classpath”/>
    <link href=”http://java.sun.com/j2se/1.4/docs/api/&#8221; offline=”true” packagelistLoc=”${openmdx.home}/core/etc/javadoc/j2se/”/>
    <link href=”http://java.sun.com/j2ee/1.4/docs/api/&#8221; offline=”true” packagelistLoc=”${openmdx.home}/core/etc/javadoc/j2ee/”/>
    <link href=”http://www.junit.org/junit/javadoc/3.8.1/&#8221; offline=”true” packagelistLoc=”${openmdx.home}/core/etc/javadoc/junit/”/>
    <link href=”http://jakarta.apache.org/velocity/api/&#8221; offline=”true” packagelistLoc=”${openmdx.home}/core/etc/javadoc/velocity/”/>
    <group>
    <title>${project.specification.title} Kernel</title>
    <package name=”org.openmdx.kernel.*”/>
    <package name=”org.openmdx.compatibility.kernel.*”/>
    </group>
    <group>
    <title>${project.specification.title} Base</title>
    <package name=”org.openmdx.base.*”/>
    <package name=”org.openmdx.compatibility.base.*”/>
    </group>
    <group>
    <title>${project.specification.title} Application</title>
    <package name=”org.openmdx.application.*”/>
    <package name=”org.openmdx.compatibility.application.*”/>
    </group>
    <group>
    <title>openMDX Uses</title>
    <package name=”org.openmdx.uses.*”/>
    </group>
    <group>
    <title>javax JMI</title>
    <package name=”javax.jmi.*”/>
    </group>
    <bottom>This software is published under the BSD license. Copyright © 2003-${build.year}, OMEX AG, Switzerland, All rights reserved. Use is subject to <a href=”http://www.openmdx.org/license.htm”>license terms</a>.</bottom>
    </javadoc>
    <echo>
    ————————————————————————————————
    The Java API documentation for ${project.specification.title} has been generated at
    ${build.dir}/doc/api/index.html
    ————————————————————————————————
    </echo>
    </target>

    </project>

    /**************************************build.xml*****************************/[/code]

    #252296 Reply

    Riyad Kalla
    Member

    The problem is that the root element does not reference a schema to validate the file against. So the XML validator doesn’t know where “project” or any of the other tags come from.

    I have to admit, that root element is a bit of a doosey, I haven’t seen something like that before.

    #252416 Reply

    arupsarkar
    Member

    Riyad: I have a friend who has the following god .classpath and he has no errors. I have listed my bad .classpth below.

    Regards
    Arup

    /****************** good .classpath ************************/

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <classpath>
    <classpathentry kind=”src” path=”src/java”/>
    <classpathentry kind=”src” path=”build/jre-1.4/src/java”/>
    <classpathentry kind=”con” path=”org.eclipse.jdt.launching.JRE_CONTAINER”/>
    <classpathentry sourcepath=”/OPENMDX_1_12_1/jre-1.4/core/src/openmdx-application.java.zip” kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/lib/openmdx-application.jar”>
    <attributes>
    <attribute value=”http://www.openmdx.org/openmdx/core/1.12/java-jre-1.4/&#8221; name=”javadoc_location”/>
    </attributes>
    </classpathentry>
    <classpathentry sourcepath=”/OPENMDX_1_12_1/jre-1.4/core/src/openmdx-base.java.zip” kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/lib/openmdx-base.jar”>
    <attributes>
    <attribute value=”http://www.openmdx.org/openmdx/core/1.12/java-jre-1.4/&#8221; name=”javadoc_location”/>
    </attributes>
    </classpathentry>
    <classpathentry sourcepath=”/OPENMDX_1_12_1/jre-1.4/core/src/openmdx-kernel.java.zip” kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/lib/openmdx-kernel.jar”>
    <attributes>
    <attribute value=”http://www.openmdx.org/openmdx/core/1.12/java-jre-1.4/&#8221; name=”javadoc_location”/>
    </attributes>
    </classpathentry>
    <classpathentry kind=”lib” path=”build/jre-1.4/model/openmdx-example-helloworld.openmdx-xmi.zip”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/activation.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/connector-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/deployment-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/ejb-2_1-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jacc-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jaxrpc-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jms.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jsp-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jta.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/mailapi.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/mx4j-jmx.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/servlet-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/commons-collections-extendedproperties.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/imap.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/junit.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/pop3.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/slf4j-jdk14.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/xmlunit.jar”/>
    <classpathentry kind=”output” path=”build/eclipse/bin”/>
    </classpath>

    /******************************** bad .classpth **************************************/

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <classpath>
    <classpathentry kind=”src” path=”build/jre-1.4/src/java”/>
    <classpathentry kind=”src” path=”src/java”/>
    <classpathentry kind=”con” path=”org.eclipse.jdt.launching.JRE_CONTAINER”/>
    <classpathentry kind=”lib” path=”build/jre-1.4/model/openmdx-example-helloworld.openmdx-xmi.zip”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/activation.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/connector-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/deployment-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/ejb-2_1-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jacc-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jaxrpc-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jms.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jsp-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/jta.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/mailapi.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/mx4j-jmx.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/enterprise/lib/servlet-api.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/commons-collections-extendedproperties.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/imap.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/junit.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/openxri-syntax.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/pop3.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/slf4j-jdk14.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/xml-datatype.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/java2/jre-1.4/extension/lib/xmlunit.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/lib/openmdx-application.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/lib/openmdx-base.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/lib/openmdx-kernel.jar”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/src/openmdx-application.java.zip”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/src/openmdx-base.java.zip”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/src/openmdx-core.java.zip”/>
    <classpathentry kind=”var” path=”OPENMDX_1_12_1/jre-1.4/core/src/openmdx-kernel.java.zip”/>
    <classpathentry kind=”output” path=”build/jre-1.4/eclipse”/>
    </classpath>

    #252419 Reply

    Riyad Kalla
    Member

    I don’t know what I”m suppose to do with that information or what exactly your question is. If his classpath is “Good” and yours is “Bad”, then I’d suggest making yours look more like his… maybe I’m missing the question here though, please clarify.

    #252439 Reply

    arupsarkar
    Member

    Riyad: Sorry about the confusion, how can make my classpath look like the good classpath, that is my question? What modifications do I need to make in my project to make my classpath look like his.

    Regards
    Arup

    #252449 Reply

    Riyad Kalla
    Member

    Ahh, navigate to your project properties, then go to Java Build Path and click the Libraries path. Then use the buttons to add/remove the resources necessary to match your friend’s working project build path.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Building openMDX application

You must be logged in to post in the forum log in