dev@glassfish.java.net

Re: Eclipse + Glassfish V3 + Linux = Nightmare

From: Sanjeeb Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 03 Jun 2010 18:37:40 +0530

You have too many jars in domain1/lib/ext/. Move them to domain1/lib/,
otherwise they look good.

Sahoo
On Thursday 03 June 2010 06:26 PM, JeffGetzin wrote:
> 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>
>
>