[jboss-dev] IDE Remote Control

Max Rydahl Andersen manderse at redhat.com
Thu Mar 10 06:41:22 EST 2016


On 7 Mar 2016, at 10:18, Samurdhi Karunarathne wrote:

> I thought of using some of the source code in the TCP/IP Monitor in 
> the
> Eclipse WTP to implement the requests part of the IDE Remote(Why 
> reinvent
> the wheel right?).

not sure that code does http well ?

a better option could be to use jetty that comes with eclipse to react
to http requests ?

you can see an example of that in here 
https://github.com/jbosstools/jbosstools-livereload/tree/master/plugins/org.jboss.tools.livereload.core/src/org/jboss/tools/livereload/core/internal/server/jetty


> I'm thinking of handling the responses to the requests
> via the Response.java class that I have created. I also changed the UI 
> to
> include Start, Stop and Properties buttons in the main interface 
> itself to
> make it more user friendly.

I properly would not even expose any of this as main UI - just a 
preference
to turn on/off.

> The start button will start the first monitor
> in the TCP/IP monitor list(So you'll have to create one at first use 
> by
> navigating Properties). The Stop button will stop whatever the monitor 
> that
> is already running. The Properties button will simply navigate to the
> preferences menu. Herewith I'm attaching the source code. 
> Alternatively,
> you can find the source code at https://github.com/samurdhilbk.

I looked but only found two empty repos from the last few days ?

> As in the
> TCP/IP monitor, the core handles the core functionality and ui handles 
> the
> user interface. I had some issues with signing the JAR's so couldn't 
> get
> around to exporting it to a JAR.

that sounds weird, you shouldn't have to sign jars to export it.

> I will do that as soon as possible. For
> now please run it in Eclipse and see how it works. You may find it in
> Window->Show View->Other->Other in the Eclipse window.

I am a hotel with limited bandwidth right now so haven't been able to 
build/run it yet ;/

Could you record a video / take screenshots of it ?
/max

> Best Regards.
> Samurdhi
>
> On Fri, Mar 4, 2016 at 11:06 PM, Max Rydahl Andersen 
> <manderse at redhat.com>
> wrote:
>
>> On 4 Mar 2016, at 7:32, Samurdhi Karunarathne wrote:
>>
>> Hello All,
>>
>> I previously expressed my interest in the GSoC project to develop an 
>> IDE
>> Remote Control for Eclipse. I did some work on it and managed to 
>> develop
>> the plugin to be able to accept requests through the browser.
>>
>> Nice - got a link ?
>>
>> Can anybody
>> tell me what exactly needs to be done with these requests? Should the 
>> user
>> be able to view/edit projects on the browser itself or does the 
>> plugin only
>> remotely do tasks that can otherwise be done through the Eclipse UI?
>>
>> It is the other way around, that when you are in your browser - how 
>> do I
>> open
>> files/resources from this browser in the IDE ?
>>
>> i.e. with this plugin github.com could have links like
>> http://localhost:6666/clone/?repo=
>> https://github.com/jbosstools/jbosstools-website
>> which would mean clone this repo and import it into the IDE.
>>
>> Like
>> opening projects or saving an already open project. I'm a bit unclear 
>> on
>> this regard. I tried contacting Max (Max Anderson) but could not get
>> through to him.
>>
>> sorry for the late response but been quite busy.
>>
>> I'm travelling the next couple of weeks so i'll be slow, but I'll 
>> respond
>> where I can.
>>
>> /max
>>
>> Hoping for a favorable response.
>>
>> Regards,
>> Samurdhi.
>>
>> On Wed, Feb 17, 2016 at 5:06 PM, Samurdhi Karunarathne <
>> samurdhilbk at gmail.com> wrote:
>>
>> Hello All,
>>
>> I'm Samurdhi Karunarathne and I'm a student at the Faculty of 
>> Engineering,
>> University of Peradeniya, Sri Lanka. I came across the idea of 
>> creating a
>> plugin for Eclipse that responds to requests sent in through a web 
>> browser,
>> on the GSoC 2016 ideas page. I have quite some experience in this 
>> direction
>> and I think that it's a pretty cool idea. So I'm very excited to work 
>> on
>> this project for GSoC 2016.
>> Hope you could give me some guidelines to get myself up and aboard 
>> the
>> task. Thanks in advance!
>>
>> Regards,
>> Samurdhi.
>>
>> ------------------------------
>>
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>
>> /max
>> http://about.me/maxandersen
>>
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development


/max
http://about.me/maxandersen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-development/attachments/20160310/5b9b5db8/attachment.html 


More information about the jboss-development mailing list