dev@glassfish.java.net

Re: Eclipse + Glassfish V3 + Linux = Nightmare

From: JeffGetzin <jgetzin_at_cantor.com>
Date: Thu, 3 Jun 2010 05:56:56 -0700 (PDT)

Here is my .classpath file that I use to build my web application. Am I
referencing the Glassfish libraries correctly?

Note specifically the line:

<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/DCM Glassfish
v3.0"/>

This is a custom user library which consists of many, but not all, of the
jars in the modules directory. Should I not be doing this? If so, what is
the correct approach to make sure my application plays nicely with
Glassfish?

  Thanks,
         Jeff


<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="src" path="config/local"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/bfograph.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/blpjavaapi.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/hawkutilities.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/helixWS.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/jfreechart-1.0.12-experimental.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/jfreechart-1.0.12-swt.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/jfreechart-1.0.12.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/jniESPD.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/quanttools.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/trove-2.1.0.jar"/>
        <classpathentry exported="true" kind="lib"
path="WebContent/WEB-INF/lib/dcm-xerces-2.6.2.jar"/>
        <classpathentry exported="true" kind="lib" path="C:/Program
Files/tibco/hawk/lib/ami.jar"/>
        <classpathentry exported="true" kind="lib"
path="C:/p4/FixedIncome/DCMWeb/WebContent/WEB-INF/lib/tibrvj.jar"/>
        <classpathentry exported="true" kind="lib"
path="C:/p4/FixedIncome/DCMWeb/WebContent/WEB-INF/lib/tibjms.jar"/>
        <classpathentry exported="true" kind="con"
path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?ivyXmlPath=ivy.xml&amp;confs=*&amp;ivySettingsPath=file%3A%2FC%3A%2Fp4%2FFixedIncome%2FDCMWeb%2Fivysettings.local.xml&amp;loadSettingsOnDemand=false&amp;propertyFiles=">
                <attributes>
                        <attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
                </attributes>
        </classpathentry>
        <classpathentry kind="lib"
path="C:/glassfishv3/glassfish/domains/domain1/lib/ext/jconn3.jar"/>
        <classpathentry kind="lib"
path="C:/glassfishv3/glassfish/domains/domain1/lib/ext/jTDS3.jar"/>
        <classpathentry kind="lib"
path="C:/glassfishv3/glassfish/domains/domain1/lib/ext/TemplateUtils.jar">
                <attributes>
                        <attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
                </attributes>
        </classpathentry>
        <classpathentry kind="lib"
path="C:/glassfishv3/glassfish/domains/domain1/lib/ext/adsjdbc.jar">
                <attributes>
                        <attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
                </attributes>
        </classpathentry>
        <classpathentry kind="lib"
path="C:/glassfishv3/glassfish/domains/domain1/lib/ext/jdom.jar">
                <attributes>
                        <attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
                </attributes>
        </classpathentry>
        <classpathentry kind="lib"
path="C:/glassfishv3/glassfish/domains/domain1/lib/ext/sqljdbc4.jar">
                <attributes>
                        <attribute name="org.eclipse.jst.component.dependency"
value="/WEB-INF/lib"/>
                </attributes>
        </classpathentry>
        <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/DCM Glassfish
v3.0"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="output" path="build/classes"/>
</classpath>

-- 
View this message in context: http://old.nabble.com/Eclipse-%2B-Glassfish-V3-%2B-Linux-%3D-Nightmare-tp28761483p28767083.html
Sent from the java.net - glassfish dev mailing list archive at Nabble.com.