Commits

Jan Lahoda  committed bacddee

Trying to fix test failures in Hudson.

  • Participants
  • Parent commits 9fda048

Comments (0)

Files changed (3)

File transformer/build.xml

 <project name="org.netbeans.modules.jackpot30.transformers" default="netbeans" basedir=".">
     <description>Builds, tests, and runs the project org.netbeans.modules.jackpot30.transformers.</description>
     <import file="nbproject/build-impl.xml"/>
-    
-    <target name="-download">
-        <mkdir dir="release/libs" />
-        <get src="https://lang.dev.java.net/files/documents/9560/133823/annotations.jar" dest="release/libs/annotations.jar" usetimestamp="true"/>
-    </target>
-    
-    <target name="init" depends="-download,harness.init" />
 </project>

File transformer/release/libs/annotations.jar

Binary file modified.

File transformer/test/unit/src/org/netbeans/modules/jackpot30/transformers/TransformationHintProviderImplTest.java

 
         File ann = InstalledFileLocator.getDefault().locate("libs/annotations.jar", null, false);
 
+        if (ann == null) {
+            ann = InstalledFileLocator.getDefault().locate("release/libs/annotations.jar", null, false);
+        }
+
         assertNotNull(System.getProperty("netbeans.home"), ann);
 
         FileObject annFO = FileUtil.toFileObject(ann);