Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 116670 Details for
Bug 252711
build script generator fails to resolve older plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Testcase reprocing the issue
patch_252711_c2.txt (text/plain), 2.06 KB, created by
Stephan Herrmann
on 2008-10-31 18:35:21 EDT
(
hide
)
Description:
Testcase reprocing the issue
Filename:
MIME Type:
Creator:
Stephan Herrmann
Created:
2008-10-31 18:35:21 EDT
Size:
2.06 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.build.tests >Index: src/org/eclipse/pde/build/internal/tests/ScriptGenerationTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/ScriptGenerationTests.java,v >retrieving revision 1.18.2.3 >diff -u -r1.18.2.3 ScriptGenerationTests.java >--- src/org/eclipse/pde/build/internal/tests/ScriptGenerationTests.java 30 Sep 2008 20:59:00 -0000 1.18.2.3 >+++ src/org/eclipse/pde/build/internal/tests/ScriptGenerationTests.java 31 Oct 2008 21:59:42 -0000 >@@ -11,6 +11,7 @@ > > import java.io.File; > import java.io.FileFilter; >+import java.io.IOException; > import java.util.*; > import java.util.jar.Attributes; > >@@ -578,4 +579,29 @@ > Utils.storeBuildProperties(build2, properties); > runBuild(build2); > } >+ >+ public void testBug252711() throws Exception { >+ IFolder buildFolder = newTest("252711"); >+ >+ IFolder aBinary = Utils.createFolder(buildFolder, "base/plugins/a_3.4.2.v_833"); >+ Utils.generateBundleManifest(aBinary, "a; singleton:=true", "3.4.2.v_833", null); >+ >+ IFolder aBinary2 = Utils.createFolder(buildFolder, "base/plugins/b_1.0.0"); >+ Utils.generateBundleManifest(aBinary2, "b; singleton:=true", "1.0.0", null); >+ >+ IFolder aSource = Utils.createFolder(buildFolder, "plugins/a"); >+ generateBundle(aSource, "a; singleton:=true", "3.4.2.Branch_qualifier"); >+ >+ Utils.generateFeature(buildFolder, "f", null, new String[] {"a;version=\"3.4.2.Branch_qualifier\""}); >+ >+ Properties buildProperties = BuildConfiguration.getScriptGenerationProperties(buildFolder, "feature", "f"); >+ buildProperties.put("baseLocation", buildFolder.getFolder("base").getLocation().toOSString()); >+ generateScripts(buildFolder, buildProperties); >+ } >+ >+ public void generateBundle(IFolder folder, String bundleId, String version) throws CoreException, IOException { >+ Utils.generateBundleManifest(folder, bundleId, version, null); >+ Utils.generatePluginBuildProperties(folder, null); >+ folder.refreshLocal(IResource.DEPTH_INFINITE, null); >+ } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252711
:
116539
| 116670