[jbosstools-issues] [JBoss JIRA] (JBIDE-12419) archives core should not have references to NLS class in src/main

Rob Stryker (JIRA) jira-events at lists.jboss.org
Wed Oct 10 14:43:03 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725421#comment-12725421 ] 

Rob Stryker commented on JBIDE-12419:
-------------------------------------

step 1) checkout source tree
step 2) cd trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main
step 3) grep -R "NLS" * | grep "osgi"

Only 1 result, and the line is commented so is not active. This means all references to NLS were removed. That's all I've got for replication at hte moment as I really don't remember how to fully run project archives outside of eclipse ;) 
                
> archives core should not have references to NLS class in src/main
> -----------------------------------------------------------------
>
>                 Key: JBIDE-12419
>                 URL: https://issues.jboss.org/browse/JBIDE-12419
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Archives
>    Affects Versions: 3.3.1
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 3.3.2, 4.0.0.Alpha1
>
>
> The old use case to run project archives from cmd line requires a strict set of jars. References to NLS class are not allowed.  Problem can be seen in build unit test SimpleAntTest
> Error Message
> The ant task did not successfully complete.   BUILD FAILED  /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--archives/sources/tests/org.jboss.ide.eclipse.archives.test/target/work/data/AntTest/build.xml:25: java.lang.NoClassDefFoundError: org/eclipse/osgi/util/NLS    
> Stacktrace
> junit.framework.AssertionFailedError: The ant task did not successfully complete. 
> BUILD FAILED
> /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--archives/sources/tests/org.jboss.ide.eclipse.archives.test/target/work/data/AntTest/build.xml:25: java.lang.NoClassDefFoundError: org/eclipse/osgi/util/NLS

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list