[
https://issues.jboss.org/browse/JBIDE-12971?page=com.atlassian.jira.plugi...
]
Nick Boldt edited comment on JBIDE-12971 at 3/18/13 10:50 AM:
--------------------------------------------------------------
Tried a quick test to see if I could use p2 FeatureAndBundlesPublisher to produce an
update site from a single plugin jar. Doesn't work.
{code} wget
http://mockito.googlecode.com/files/mockito-all-1.9.5.jar -O
/tru/download.jboss.org/jbosstools/updates/requirements/mockito/repo/mockito-all-1.9.5.jar
java -jar
~/eclipse/43clean/eclipse/plugins/org.eclipse.equinox.launcher_1.3.0.v20130125-144918.jar
-application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher
-metadataRepository
file:/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/...
-artifactRepository
file:/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/...
-source /home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/mockito/repo
-compress -publishArtifacts -configs ANY
{code}
For this to work we will probably either need a custom p2.inf file + category.xml, or a
feature to wrap the content. Simpler solution is to get 1.9.5 into Eclipse Orbit and use
it from there.
was (Author: nickboldt):
Tried a quick test to see if I could use p2 FeatureAndBundlesPublisher to produce an
update site from a single plugin jar. Doesn't work.
{code} wget
http://mockito.googlecode.com/files/mockito-all-1.9.5.jar -O
/tru/download.jboss.org/jbosstools/updates/requirements/mockito/repo/mockito-all-1.9.5.jar
java -jar
~/eclipse/43clean/eclipse/plugins/org.eclipse.equinox.launcher_1.3.0.v20130125-144918.jar
-application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher
-metadataRepository
file:/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/...
-artifactRepository
file:/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/...
-source /home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/mockito/repo
-compress -publishArtifacts -configs ANY
{code}
-----
Request to add Mockito 1.9.5 to Eclipse Orbit:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=403635
Add mockito to the TP
---------------------
Key: JBIDE-12971
URL:
https://issues.jboss.org/browse/JBIDE-12971
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Build/Releng
Affects Versions: 4.0.0.Beta1
Reporter: Andre Dietisheim
Assignee: Nick Boldt
Fix For: 4.1.0.Alpha2
It would be great if we could use mockito (
http://code.google.com/p/mockito/) in our
tests. We would have to add it to our target platform (TP) for our plugins to use it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira