[jbosstools-issues] [JBoss JIRA] (JBIDE-18360) url and local save/restore support

Gorkem Ercan (JIRA) issues at jboss.org
Mon Oct 6 10:17:11 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008883#comment-13008883 ] 

Gorkem Ercan edited comment on JBIDE-18360 at 10/6/14 10:16 AM:
----------------------------------------------------------------

1. Create a hybrid project 
2. Install a cordova plugin using git ( for example: https://github.com/apache/cordova-plugin-console.git#r0.2.0)
3. Check that there is a url param for the feature entry for the plugin that you have installed. For the example url above it is sth like 
	<feature name="Console">
		<param name="ios-package" value="CDVLogger" />
		<param name="id" value="org.apache.cordova.core.console" />
		<param name="url"
			value="https://github.com/apache/cordova-plugin-console.git#r0.2.0" />
	</feature>
4. Delete the project from Eclipse but do not delete it from file system
5. Go to the project directory and delete the $plugin_id folder on the plugins directory (org.apache.cordova.core.console for the example)
6. Import the project back... You may need to move the project to a location outside the workspace to import to happen
7. Observe that Thym detects the entry on config.xml and prompts for restoring the plugin from git repo.

For directrory installation the steps are the same but there should be a param named installPath instead of url



was (Author: gercan):
1. Create a hybrid project 
2. Install a cordova plugin using git ( for example: https://github.com/apache/cordova-plugin-console.git#r0.2.0)
3. Check that there is a url param for the feature entry for the plugin that you have installed. For the example url above it is sth like 
	<feature name="Console">
		<param name="ios-package" value="CDVLogger" />
		<param name="id" value="org.apache.cordova.core.console" />
		<param name="url"
			value="https://github.com/apache/cordova-plugin-console.git#r0.2.0" />
	</feature>
4. Delete the project from Eclipse but do not delete it from file system
5. Go to the project directory and delete the $plugin_id folder on the plugins directory (org.apache.cordova.core.console for the example)
6. Import the project back... You may need to move the project to a location outside the workspace to import to happen
7. Observe that Thym detects the entry on config.xml and prompts for restoring the plugin from git repo.


> url and local save/restore support
> ----------------------------------
>
>                 Key: JBIDE-18360
>                 URL: https://issues.jboss.org/browse/JBIDE-18360
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: aerogear-hybrid
>    Affects Versions: 4.2.0.CR1
>            Reporter: Gorkem Ercan
>            Assignee: Gorkem Ercan
>             Fix For: 4.2.0.CR2
>
>
> Implement restoring and saving plugins from git repos and local directories on config.xml. Also save only top level plugins to config.xml



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list