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 113375 Details for
Bug 240724
[plan] Update Execution Environment profile format to include custom jdt settings
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]
org.eclipse.osgi.patch
clipboard.txt (text/plain), 4.58 KB, created by
Chris Aniszczyk
on 2008-09-24 11:51:44 EDT
(
hide
)
Description:
org.eclipse.osgi.patch
Filename:
MIME Type:
Creator:
Chris Aniszczyk
Created:
2008-09-24 11:51:44 EDT
Size:
4.58 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.osgi >Index: core/framework/org/eclipse/osgi/framework/internal/core/Framework.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/Framework.java,v >retrieving revision 1.122 >diff -u -r1.122 Framework.java >--- core/framework/org/eclipse/osgi/framework/internal/core/Framework.java 31 Jul 2008 22:26:21 -0000 1.122 >+++ core/framework/org/eclipse/osgi/framework/internal/core/Framework.java 24 Sep 2008 15:46:08 -0000 >@@ -402,6 +402,7 @@ > } > > private void loadVMProfile() { >+ // TODO handle managing profiles here > Properties profileProps = findVMProfile(); > String systemExports = properties.getProperty(Constants.OSGI_FRAMEWORK_SYSTEM_PACKAGES); > // set the system exports property using the vm profile; only if the property is not already set >Index: supplement/src/org/eclipse/osgi/service/profile/ProfileService.java >=================================================================== >RCS file: supplement/src/org/eclipse/osgi/service/profile/ProfileService.java >diff -N supplement/src/org/eclipse/osgi/service/profile/ProfileService.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ supplement/src/org/eclipse/osgi/service/profile/ProfileService.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,63 @@ >+/******************************************************************************* >+ * Copyright (c) 2008 Code 9 Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Chris Aniszczyk <zx@code9.com> - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.osgi.service.profile; >+ >+/** >+ * The profile service is used to register, unregister and acquire profiles. >+ * >+ * <p> >+ * Profiles available by default: >+ * <ul> >+ * <li>OSGi/Minimum-1.0</li> >+ * <li>OSGi/Minimum-1.1</li> >+ * <li>CDC-1.0/Foundation-1.0</li> >+ * <li>CDC-1.1/Foundation-1.1</li> >+ * <li>JRE-1.1</li> >+ * <li>J2SE-1.2</li> >+ * <li>J2SE-1.3</li> >+ * <li>J2SE-1.4</li> >+ * <li>J2SE-1.5</li> >+ * <li>JavaSE-1.6</li> >+ * </p> >+ * >+ * <p> >+ * This interface is not intended to be implemented by clients. >+ * </p> >+ * >+ * @since 3.5 >+ * @noimplement This interface is not intended to be implemented by clients. >+ */ >+public interface ProfileService { >+ >+ /** >+ * Acquire a profile >+ * >+ * @param name the unique name of the profile >+ * >+ * @return A <code>IProfile</code> for the given unique name. >+ */ >+ public IProfile getProfile(String name); >+ >+ /** >+ * Register a profile >+ * >+ * @param profile the profile to register >+ */ >+ public void register(IProfile profile); >+ >+ /** >+ * Unregister a profile >+ * >+ * @param profile the profile to unregister >+ */ >+ public void unregister(IProfile profile); >+ >+} >Index: supplement/src/org/eclipse/osgi/service/profile/IProfile.java >=================================================================== >RCS file: supplement/src/org/eclipse/osgi/service/profile/IProfile.java >diff -N supplement/src/org/eclipse/osgi/service/profile/IProfile.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ supplement/src/org/eclipse/osgi/service/profile/IProfile.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,41 @@ >+/******************************************************************************* >+ * Copyright (c) 2008 Code 9 Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Chris Aniszczyk <zx@code9.com> - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.osgi.service.profile; >+ >+/** >+ * A vm profile represents an execution environment. >+ * >+ * @since 3.5 >+ */ >+public interface IProfile { >+ >+ /** >+ * The unique and primary name of the execution environment profile >+ * >+ * @since 3.5 >+ */ >+ public String getName(); >+ >+ /** >+ * The unique and primary name of the execution environment profile >+ * >+ * @since 3.5 >+ */ >+ public String[] getSystemPackages(); >+ >+ /** >+ * The unique and primary name of the execution environment profile >+ * >+ * @since 3.5 >+ */ >+ public String[] getSupportedEnvironments(); >+ >+}
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 240724
:
113375
|
113820
|
113821
|
113875
|
114032
|
114352
|
114810