|
Lines 653-656
Link Here
|
| 653 |
} |
653 |
} |
| 654 |
assertLogContainsLines(buildFolder.getFile("log.log"), new String [] {"Problem occurred while considering plugin: Test Bundle org.foo.", "invalid format"}); |
654 |
assertLogContainsLines(buildFolder.getFile("log.log"), new String [] {"Problem occurred while considering plugin: Test Bundle org.foo.", "invalid format"}); |
| 655 |
} |
655 |
} |
|
|
656 |
|
| 657 |
public void testBug248767() throws Exception { |
| 658 |
IFolder rootFolder = newTest("248767"); |
| 659 |
|
| 660 |
// Build 1 creates a binary version of A |
| 661 |
IFolder build1 = rootFolder.getFolder("build1"); |
| 662 |
Utils.generateFeature(build1, "F1", null, new String[] {"A;unpack=true", "org.eclipse.osgi"}); |
| 663 |
Properties properties = BuildConfiguration.getBuilderProperties(build1); |
| 664 |
properties.put("topLevelElementId", "F1"); |
| 665 |
properties.put("archivesFormat", "*,*,*-folder"); |
| 666 |
Utils.storeBuildProperties(build1, properties); |
| 667 |
runBuild(build1); |
| 668 |
build1.refreshLocal(IResource.DEPTH_INFINITE, null); |
| 669 |
|
| 670 |
//Build 2 compiles B against binary A |
| 671 |
IFolder build2 = rootFolder.getFolder("build2"); |
| 672 |
Utils.generateFeature(build2, "F2", null, new String[] {"A", "B"}); |
| 673 |
properties = BuildConfiguration.getBuilderProperties(build2); |
| 674 |
properties.put("topLevelElementId", "F2"); |
| 675 |
properties.put("baseLocation", build1.getFolder("tmp/eclipse").getLocation().toOSString()); |
| 676 |
Utils.storeBuildProperties(build2, properties); |
| 677 |
runBuild(build2); |
| 678 |
} |
| 656 |
} |
679 |
} |