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 122513 Details for
Bug 259685
Bogus build error "Cannot nest" xyz "inside library"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Regression test
259685.txt (text/plain), 1.80 KB, created by
Jerome Lanneluc
on 2009-01-14 04:40:18 EST
(
hide
)
Description:
Regression test
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2009-01-14 04:40:18 EST
Size:
1.80 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.model >Index: src/org/eclipse/jdt/core/tests/model/ClasspathTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ClasspathTests.java,v >retrieving revision 1.195 >diff -u -r1.195 ClasspathTests.java >--- src/org/eclipse/jdt/core/tests/model/ClasspathTests.java 15 Dec 2008 12:30:20 -0000 1.195 >+++ src/org/eclipse/jdt/core/tests/model/ClasspathTests.java 14 Jan 2009 09:39:36 -0000 >@@ -3689,6 +3689,42 @@ > } > } > /* >+ * Ensures that nested libraries in the Class-Path: clause of a jar doesn't create a marker. >+ * (regression test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=259685 ) >+ */ >+public void testExtraLibraries17() throws Exception { >+ try { >+ IJavaProject p = createJavaProject("P"); >+ addExternalLibrary(p, getExternalResourcePath("lib.jar"), new String[0], >+ new String[] { >+ "META-INF/MANIFEST.MF", >+ "Manifest-Version: 1.0\n" + >+ "Class-Path: lib/ \n", >+ }, >+ JavaCore.VERSION_1_4); >+ waitForAutoBuild(); >+ >+ org.eclipse.jdt.core.tests.util.Util.createJar( >+ null/*no classes*/, >+ new String[] { >+ "META-INF/MANIFEST.MF", >+ "Manifest-Version: 1.0\n" + >+ "Class-Path: lib/ lib/sublib/ \n", >+ }, >+ getExternalResourcePath("lib.jar"), >+ null/*no classpath*/, >+ JavaCore.VERSION_1_4); >+ refreshExternalArchives(p); >+ assertMarkers( >+ "Unexpected markers", >+ "", >+ p); >+ } finally { >+ deleteProject("P"); >+ deleteExternalResource("lib.jar"); >+ } >+} >+/* > * Ensures that a marker is removed if adding an internal jar that is on the classpath in another project > * (regression test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=213723 ) > */
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 259685
:
121554
|
121807
|
122099
|
122511
| 122513 |
122658