[JBoss JIRA] (FORGE-779) Class parameters are not correctly loaded for the consuming addon's classloader
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-779?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-779:
----------------------------------
Fix Version/s: 2.0.0.Alpha3
(was: 2.0.0.Alpha2)
> Class parameters are not correctly loaded for the consuming addon's classloader
> -------------------------------------------------------------------------------
>
> Key: FORGE-779
> URL: https://issues.jboss.org/browse/FORGE-779
> Project: Forge
> Issue Type: Bug
> Reporter: George Gastaldi
> Assignee: Lincoln Baxter III
> Priority: Critical
> Fix For: 2.0.0.Alpha3
>
>
> Having the following scenario:
> Eclipse plugin -> calls ConverterFactory -> passes Resource.class as a parameter
> {code:java}
> ConverterFactory.getConverter(File.class, Resource.class)
> {code}
> in ResourceConverterGenerator (resources addon):
> {code:java}
> @Override
> public boolean handles(Class<?> source, Class<?> target)
> {
> return Resource.class.isAssignableFrom(target);
> }
> {code}
> Returns false, because the classloader that loaded the Resource class is the Eclipse classloader, not the Resource addon classloader AND Resource.class is not visible in the convert addon.
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-801) Support for Transactional Resources
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-801?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-801:
----------------------------------
Fix Version/s: 2.0.0.Alpha3
(was: 2.0.0.Alpha2)
> Support for Transactional Resources
> ------------------------------------
>
> Key: FORGE-801
> URL: https://issues.jboss.org/browse/FORGE-801
> Project: Forge
> Issue Type: Feature Request
> Components: Resources API
> Affects Versions: 1.2.1.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Priority: Critical
> Fix For: 2.0.0.Alpha3
>
> Attachments: IMG_20130225_215814.jpg, UserGuide_TXFileInJava_v1.0.pdf
>
>
> FileResources should be transactional, that is, allow modification of resources for displaying purposes and allow commit or rollback of changes.
> The implementation could copy the modified file to a temporary folder and when commit is invoked, copy back the contents to the original folder.
> It may be necessary to provide a pointer back to the original file (Properties file next to changed file maybe?).
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-802) Support multiple select/pick-up/cd Resources
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-802?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-802:
----------------------------------
Fix Version/s: 2.0.0.Alpha3
(was: 2.0.0.Alpha2)
> Support multiple select/pick-up/cd Resources
> --------------------------------------------
>
> Key: FORGE-802
> URL: https://issues.jboss.org/browse/FORGE-802
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Shell
> Reporter: Lincoln Baxter III
> Fix For: 2.0.0.Alpha3
>
>
> {code}/home/lincoln/projects/forge/*.java/get* [2432 selected] ${code}
> (04:17:31 PM) lincolnthree1: i was thinking it would be nice if the cd or "select" or "pick up" command accepted wildcards/filters of some sort
> (04:17:44 PM) lincolnthree1: obviously *.java works, but only in the current directory/resource
> (04:17:46 PM) lincolnthree1: so
> (04:17:54 PM) lincolnthree1: 'cd *.java' would select all the
> (04:18:00 PM) lincolnthree1: java files in the current dir
> (04:18:07 PM) lincolnthree1: but it would be really nice if you could do something like:
> (04:18:20 PM) lincolnthree1: select **/*.java
> (04:18:27 PM) lincolnthree1: or select *.java -r
> (04:18:32 PM) lincolnthree1: select -r *.java
> (04:18:40 PM) lincolnthree1: and recursively select resources
> (04:18:50 PM) lincolnthree1: from . onward
> (04:20:39 PM) stalep: sure that should work. but what do you mean by "select". selected for what?
> (04:21:11 PM) lincolnthree1: UIContext.getInitialSelection()
> (04:21:18 PM) lincolnthree1: multi-cd
> (04:22:00 PM) stalep: im my head cd is change directory, so sorry for being a bit slow with the context switching :)
> (04:22:21 PM) lincolnthree1: think of this as an advanced for of CD
> (04:22:28 PM) lincolnthree1: imagine this:
> (04:22:31 PM) lincolnthree1: cd *.java
> (04:22:34 PM) gegastaldi: pick-up might be more like it
> (04:22:38 PM) lincolnthree1: [12 java files in context]
> (04:22:43 PM) mmatloka: gegastaldi: are you ready?:P
> (04:22:50 PM) lincolnthree1: ls .
> (04:22:54 PM) gercan [~gorkem(a)217.131.48.21] entered the room.
> (04:23:03 PM) lincolnthree1: now prints out all the fields/methods of the 12 java files
> (04:23:11 PM) gegastaldi: mmatloka: for what ? Pull requests ? :)
> (04:23:13 PM) lincolnthree1: rm . would delete all 12 java files
> (04:23:18 PM) stalep: ok
> (04:23:26 PM) mmatloka: gegastaldi: for learning :D
> (04:23:27 PM) jamezp_afk is now known as jamezp
> (04:23:32 PM) lincolnthree1: so it's like "cd++"
> (04:23:41 PM) lincolnthree1: taking 'cd' to the next level
> (04:24:23 PM) stalep: so its not a cd, but more of a select as you mentioned earlier
> (04:24:39 PM) gegastaldi: cr
> (04:24:41 PM) lincolnthree1: basically
> (04:24:44 PM) gegastaldi: Select resource
> (04:24:45 PM) stalep: co cd *.java will select all methods on all java files?
> (04:24:51 PM) lincolnthree1: well
> (04:24:58 PM) lincolnthree1: cd *.java would select all java files in the current dir
> (04:25:02 PM) lincolnthree1: once you've done that
> (04:25:07 PM) lincolnthree1: you could then cd get*
> (04:25:15 PM) lincolnthree1: which would select all getters in all java files in the current directory
> (04:25:48 PM) lincolnthree1: so 'cd *.java/get*' would be the equivalent single command
> (04:25:57 PM) stalep: ok
> (04:26:07 PM) Cojan [~cvanball@2001:980:92c0:1:2677:3ff:fe7d:2620] entered the room.
> (04:26:20 PM) gegastaldi: Oh, cd as in Change Destination, not Change Directory :)
> (04:26:35 PM) lincolnthree1: then issuing an 'rm' would delete all those selected getters and drop you back to a selection of just the *.java files
> (04:27:04 PM) lincolnthree1: similarly, I guess you could do:
> (04:27:08 PM) lincolnthree1: rm *.java/get*
> (04:27:27 PM) lincolnthree1: and just imagine if autocomplete worked here
> (04:27:34 PM) lincolnthree1: serious shell power
> (04:28:26 PM) gegastaldi: There should be a way to display the selected resources in the command prompt also
> (04:28:37 PM) lincolnthree1: right
> (04:28:43 PM) lincolnthree1: so the prompt would probably say something like:
> (04:29:22 PM) lincolnthree1: /home/lincoln/projects/forge/[*.java/get*] 12 selected $
> (04:29:33 PM) lincolnthree1: actually it would probably be something like:
> (04:29:42 PM) lincolnthree1: /home/lincoln/projects/forge/[*.java/get*] 2432 selected $
> (04:29:45 PM) lincolnthree1: lol
> (04:29:50 PM) gegastaldi: Lol
> (04:30:07 PM) gegastaldi: I like the idea
> (04:30:25 PM) gegastaldi: But
> (04:30:27 PM) lincolnthree1: or maybe
> (04:30:36 PM) lincolnthree1: /home/lincoln/projects/forge/*.java/get* [2432 selected] $
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-770) Ability to restrict ServiceRegistry and AddonRegistry services by addon dependency version
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-770?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-770:
----------------------------------
Fix Version/s: 2.0.0.Alpha3
(was: 2.0.0.Alpha2)
> Ability to restrict ServiceRegistry and AddonRegistry services by addon dependency version
> -------------------------------------------------------------------------------------------
>
> Key: FORGE-770
> URL: https://issues.jboss.org/browse/FORGE-770
> Project: Forge
> Issue Type: Story
> Components: Container
> Affects Versions: 2.0.0.Alpha1
> Reporter: Lincoln Baxter III
> Assignee: Lincoln Baxter III
> Fix For: 2.0.0.Alpha3
>
>
> Like in OSGi (shudder,) when looking up services from the ServiceRegistry, it should be possible to require that services retrieved from the ServiceRegistry be locked to a specific addon API version (via addon-dependency/classloader mapping.)
> {code}
> (A) -> (B, v1)
> -> Service 1
> (B, v2)
> -> Service 1v2
> -> Service 2v1
> {code}
> A should receive only the instance of Service 1 from (B, v1)
--
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
11 years, 8 months