[jbosstools-issues] [JBoss JIRA] (JBIDE-24886) deprecate JDK5-dependent tests or enable a way to skip them on OSX (no JDK5 available)

Nick Boldt (JIRA) issues at jboss.org
Wed Aug 23 12:38:00 EDT 2017


     [ https://issues.jboss.org/browse/JBIDE-24886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt updated JBIDE-24886:
-------------------------------
    Description: 
In searching for */JRE_5_HOME\|jre.5\|jre5\|jdk5\|jdk.5/*, I've only found TWO files which make use of the JDK5/JRE5 constants, so this might be fairly simple.

{code:title=as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java}
63:	public static final String AOP_JDK5_DEPLOYER = "jboss-aop-jdk50.deployer"; //$NON-NLS-1$

65:	public static final String JBOSS_AOP_JDK5_JAR = "jboss-aop-jdk50.jar"; //$NON-NLS-1$

93:	public static final String JBOSS_ASPECT_LIBRARY_JDK5_0 = "jboss-aspect-library-jdk50.jar"; //$NON-NLS-1$
{code}

{code:title=as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/TestConstants.java}
45:	public static final String JRE_5_HOME = System.getProperty("jbosstools.test.jre.5", "C:\\apps\\java\\jre5.0\\");
{code}

  was:
I've only found TWO files which make use of the JDK5/JRE5 constants, so this might be fairly simple.

{code:title=as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java}
63:	public static final String AOP_JDK5_DEPLOYER = "jboss-aop-jdk50.deployer"; //$NON-NLS-1$

65:	public static final String JBOSS_AOP_JDK5_JAR = "jboss-aop-jdk50.jar"; //$NON-NLS-1$

93:	public static final String JBOSS_ASPECT_LIBRARY_JDK5_0 = "jboss-aspect-library-jdk50.jar"; //$NON-NLS-1$
{code}

{code:title=as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/TestConstants.java}
45:	public static final String JRE_5_HOME = System.getProperty("jbosstools.test.jre.5", "C:\\apps\\java\\jre5.0\\");
{code}



> deprecate JDK5-dependent tests or enable a way to skip them on OSX (no JDK5 available)
> --------------------------------------------------------------------------------------
>
>                 Key: JBIDE-24886
>                 URL: https://issues.jboss.org/browse/JBIDE-24886
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.5.1.AM1
>            Reporter: Nick Boldt
>
> In searching for */JRE_5_HOME\|jre.5\|jre5\|jdk5\|jdk.5/*, I've only found TWO files which make use of the JDK5/JRE5 constants, so this might be fairly simple.
> {code:title=as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/core/util/IJBossRuntimeResourceConstants.java}
> 63:	public static final String AOP_JDK5_DEPLOYER = "jboss-aop-jdk50.deployer"; //$NON-NLS-1$
> 65:	public static final String JBOSS_AOP_JDK5_JAR = "jboss-aop-jdk50.jar"; //$NON-NLS-1$
> 93:	public static final String JBOSS_ASPECT_LIBRARY_JDK5_0 = "jboss-aspect-library-jdk50.jar"; //$NON-NLS-1$
> {code}
> {code:title=as/tests/org.jboss.tools.as.test.core/src/org/jboss/tools/as/test/core/TestConstants.java}
> 45:	public static final String JRE_5_HOME = System.getProperty("jbosstools.test.jre.5", "C:\\apps\\java\\jre5.0\\");
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list