Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.A76_R36x, 3.6.2

Number of source files: 17 Number of classfiles: 18

Problems: 39 (Errors: 0 Warnings: 39 )

Source File: org/eclipse/jst/jee/ejb/Activator.java
1. WARNING: DiscouragedReference

Discouraged access: The type WTPPlugin is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.common.frameworks/@dot

Activator.java :

13 : import org.eclipse.wst.common.frameworks.internal.WTPPlugin;

2. WARNING: DiscouragedReference

Discouraged access: The type WTPPlugin is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.common.frameworks/@dot

Activator.java :

24 : public class Activator extends WTPPlugin {

3. WARNING: DiscouragedReference

Discouraged access: The method start(BundleContext) from the type WTPPlugin is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.wst.common.frameworks/@dot

Activator.java :

44 : super.start(context);

Source File: org/eclipse/jst/jee/model/internal/EJB3MergedModelProvider.java
1. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

EJB3MergedModelProvider.java :

18 : import org.eclipse.jst.j2ee.internal.J2EEConstants;

2. WARNING: DiscouragedReference

Discouraged access: The type IJ2EEModuleConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee/@dot

EJB3MergedModelProvider.java :

19 : import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;

3. WARNING: UnusedImport

The import org.eclipse.jst.j2ee.model.IModelProviderListener is never used

EJB3MergedModelProvider.java :

22 : import org.eclipse.jst.j2ee.model.IModelProviderListener;

4. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

EJB3MergedModelProvider.java :

71 : protected Path EJB_JAR_XML_PATH = new Path(J2EEConstants.EJBJAR_DD_URI);

5. WARNING: DiscouragedReference

Discouraged access: The field EJBJAR_DD_URI from the type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

EJB3MergedModelProvider.java :

71 : protected Path EJB_JAR_XML_PATH = new Path(J2EEConstants.EJBJAR_DD_URI);

6. WARNING: DiscouragedReference

Discouraged access: The type IJ2EEModuleConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee/@dot

EJB3MergedModelProvider.java :

192 : if (jarName.endsWith(IJ2EEModuleConstants.JAR_EXT))

7. WARNING: DiscouragedReference

Discouraged access: The field JAR_EXT from the type IJ2EEModuleConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee/@dot

EJB3MergedModelProvider.java :

192 : if (jarName.endsWith(IJ2EEModuleConstants.JAR_EXT))

8. WARNING: DiscouragedReference

Discouraged access: The type IJ2EEModuleConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee/@dot

EJB3MergedModelProvider.java :

193 : return jarName.substring(0, jarName.lastIndexOf(IJ2EEModuleConstants.JAR_EXT));

9. WARNING: DiscouragedReference

Discouraged access: The field JAR_EXT from the type IJ2EEModuleConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee/@dot

EJB3MergedModelProvider.java :

193 : return jarName.substring(0, jarName.lastIndexOf(IJ2EEModuleConstants.JAR_EXT));

Source File: org/eclipse/jst/jee/model/internal/EJBAnnotationReader.java
1. WARNING: UnusedImport

The import org.eclipse.jst.j2ee.model.IModelProviderListener is never used

EJBAnnotationReader.java :

34 : import org.eclipse.jst.j2ee.model.IModelProviderListener;

2. WARNING: UnusedImport

The import org.eclipse.jst.javaee.ejb.EnterpriseBeans is never used

EJBAnnotationReader.java :

42 : import org.eclipse.jst.javaee.ejb.EnterpriseBeans;

Source File: org/eclipse/jst/jee/model/internal/Ejb3ModelProvider.java
1. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

18 : import org.eclipse.jst.j2ee.internal.J2EEConstants;

2. WARNING: DiscouragedReference

Discouraged access: The type J2EEVersionConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

19 : import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;

3. WARNING: DiscouragedReference

Discouraged access: The type J2EEProjectUtilities is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee/@dot

Ejb3ModelProvider.java :

20 : import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;

4. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

34 : setDefaultResourcePath(new Path(J2EEConstants.EJBJAR_DD_URI));

5. WARNING: DiscouragedReference

Discouraged access: The field EJBJAR_DD_URI from the type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

34 : setDefaultResourcePath(new Path(J2EEConstants.EJBJAR_DD_URI));

6. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

57 : dd.getXMLNSPrefixMap().put("", J2EEConstants.JAVAEE_NS_URL); //$NON-NLS-1$

7. WARNING: DiscouragedReference

Discouraged access: The field JAVAEE_NS_URL from the type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

57 : dd.getXMLNSPrefixMap().put("", J2EEConstants.JAVAEE_NS_URL); //$NON-NLS-1$

8. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

58 : dd.getXMLNSPrefixMap().put("xsi", J2EEConstants.XSI_NS_URL); //$NON-NLS-1$

9. WARNING: DiscouragedReference

Discouraged access: The field XSI_NS_URL from the type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

58 : dd.getXMLNSPrefixMap().put("xsi", J2EEConstants.XSI_NS_URL); //$NON-NLS-1$

10. WARNING: DiscouragedReference

Discouraged access: The type J2EEProjectUtilities is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee/@dot

Ejb3ModelProvider.java :

64 : String version = J2EEProjectUtilities.getJ2EEProjectVersion(proj);

11. WARNING: DiscouragedReference

Discouraged access: The method getJ2EEProjectVersion(IProject) from the type J2EEProjectUtilities is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee/@dot

Ejb3ModelProvider.java :

64 : String version = J2EEProjectUtilities.getJ2EEProjectVersion(proj);

12. WARNING: DiscouragedReference

Discouraged access: The type J2EEVersionConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

65 : if(version != null && version.equals(J2EEVersionConstants.VERSION_3_0_TEXT)) {

13. WARNING: DiscouragedReference

Discouraged access: The field VERSION_3_0_TEXT from the type J2EEVersionConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

65 : if(version != null && version.equals(J2EEVersionConstants.VERSION_3_0_TEXT)) {

14. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

66 : dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_0);

15. WARNING: DiscouragedReference

Discouraged access: The field JAVAEE_NS_URL from the type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

66 : dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_0);

16. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

66 : dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_0);

17. WARNING: DiscouragedReference

Discouraged access: The field EJB_JAR_SCHEMA_LOC_3_0 from the type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

66 : dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_0);

18. WARNING: DiscouragedReference

Discouraged access: The type J2EEVersionConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

67 : jar.setVersion(J2EEVersionConstants.VERSION_3_0_TEXT);

19. WARNING: DiscouragedReference

Discouraged access: The field VERSION_3_0_TEXT from the type J2EEVersionConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

67 : jar.setVersion(J2EEVersionConstants.VERSION_3_0_TEXT);

20. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

70 : dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_1);

21. WARNING: DiscouragedReference

Discouraged access: The field JAVAEE_NS_URL from the type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

70 : dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_1);

22. WARNING: DiscouragedReference

Discouraged access: The type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

70 : dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_1);

23. WARNING: DiscouragedReference

Discouraged access: The field EJB_JAR_SCHEMA_LOC_3_1 from the type J2EEConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

70 : dd.getXSISchemaLocation().put(J2EEConstants.JAVAEE_NS_URL, J2EEConstants.EJB_JAR_SCHEMA_LOC_3_1);

24. WARNING: DiscouragedReference

Discouraged access: The type J2EEVersionConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

71 : jar.setVersion(J2EEVersionConstants.VERSION_3_1_TEXT);

25. WARNING: DiscouragedReference

Discouraged access: The field VERSION_3_1_TEXT from the type J2EEVersionConstants is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/workdir/plugins/org.eclipse.jst.j2ee.core/@dot

Ejb3ModelProvider.java :

71 : jar.setVersion(J2EEVersionConstants.VERSION_3_1_TEXT);