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 136827 Details for
Bug 277504
Using -destination flag, get p2.core.ProvisionException: Need to set the destination artifact repository location.
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.
script to run repo2runnable and create an all-in-one zip; works in Eclipse VM but not in a separate VM
p2repoFormatToRunnableSDKFormat.xml (text/xml), 1.75 KB, created by
Nick Boldt
on 2009-05-22 12:58:26 EDT
(
hide
)
Description:
script to run repo2runnable and create an all-in-one zip; works in Eclipse VM but not in a separate VM
Filename:
MIME Type:
Creator:
Nick Boldt
Created:
2009-05-22 12:58:26 EDT
Size:
1.75 KB
patch
obsolete
><project default="runInEclipse" name="repo2runnable"> > <property name="working.dir" value="/tmp" /> > <property name="eclipse.home" value="/home/nboldt/eclipse/eclipse35RC1" /> > > <!-- can use a remote http:// URL, local zip or dir --> > <property name="input.repo" value="file:${working.dir}/GEF-Update-3.4.2.zip" /> > <property name="output.zip" value="${working.dir}/GEF-ALL-3.4.2.zip" /> > > > <target name="runInAnt"> > <!-- requires Eclipse 3.5M7+; see http://wiki.eclipse.org/Equinox/p2/Ant_Tasks > not working yet: org.eclipse.equinox.p2.repository.tools contains no antlib definition, only plugin.xml, so we get: > No public execute() in class org.eclipse.equinox.p2.internal.repository.tools.Repo2Runnable > --> > <taskdef classname="org.eclipse.equinox.p2.internal.repository.tools.Repo2Runnable" name="p2.repo2runnable"> > <classpath> > <fileset dir="${eclipse.home}/plugins" includes="*.jar" /> > </classpath> > </taskdef> > <antcall target="repo2runnable" /> > </target> > > <target name="runInEclipse"> > <!-- requires Eclipse 3.5M7+; see http://wiki.eclipse.org/Equinox/p2/Ant_Tasks > use "Run in the same JRE as the workspace" to run within Eclipse > --> > <antcall target="repo2runnable" /> > </target> > > <target name="repo2runnable"> > <p2.repo2runnable> > <repository location="${working.dir}/tmp-unpacked/eclipse" /> > <source> > <repository location="${input.repo}" /> > </source> > </p2.repo2runnable> > <antcall target="all.in.one.zip" /> > <delete dir="${working.dir}/tmp-unpacked" /> > </target> > > <!-- rootfiles are not created, but features and plugins will be unpacked and unzipped --> > <target name="all.in.one.zip"> > <zip destfile="${output.zip}" basedir="${working.dir}/tmp-unpacked" excludes="**/content.jar, **/artifacts.jar" /> > </target> ></project>
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 Raw
Actions:
View
Attachments on
bug 277504
: 136827 |
137052