Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14636

SDK distribution must know all Maven artifacts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.9.2
    • Fix Version/s: 5.9.5
    • Component/s: Dev Tools
    • Backlog priority:
      600
    • Sprint:
      Sprint 1, Sprint 2, DevOps Sprint 3

      Description

      EDIT (Julien Carsique): Since the move from nuxeo-distribution-tools to ant-assembly-maven-plugin, the SDK is missing the list of test JARs.

      In Eclipse, I changed the SDK:

      1. Download nuxeo-cap-5.9.2-I20140218_0120-tomcat-sdk
        (unzip it ) from http://community.nuxeo.com/static/snapshots/
      2. Eclipse -> Preferences -> Nuxeo -> Nuxeo SDK -> Add (this SDK)
      3. Check the box of tis sdk so it is used
      4. Save

      Then, all my projects which have unit test code are showing errors.

      The errors are the same in all the projects using annotation for testing. So for example, when I have...

      @RunWith(FeaturesRunner.class)
      

      ...the error is:

      Multiple markers at this line
      * FeaturesRunner cannot be resolved to a type
      * Class<FeaturesRunner> cannot be resolved to a 
      	 type
      

      And with...

          @Features({PlatformFeature.class})
      

      ...I have:

      Multiple markers at this line
      * Features cannot be resolved to a type
      * The attribute value is undefined for the annotation type Features
      * PlatformFeature cannot be resolved to a type
      

      If I move back to nuxeo-cap-5.9.1-I20131218_0120-tomcat-sdk, all is fine.

      nuxeo-cap-5.9.2-I20140218_0120-tomcat-sdk/sdk/tests contains only junit-4.8.1.jar and log4j-1.2.17.jar

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified