Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [flux-dev] General Observations from a Flux Newb

Jay,

Thanks for getting back to me.  I hope festival is treating you well.  Your note clears up a lot of questions I had while stepping through the code base.  From your note and the flux-dev archives, it appears the Flux team thinks there is value in re-engineering the JDT project to support headless deployment.  I'm happy to focus my efforts there.  Would you connect me with the JDT project lead for further discussions?  I'll gladly take you up on your offer of consultation and review.  I've been coding in Java and other languages professionally and personally for a while, but I'm new to Eclipse plug-in and IDE development, so pointers from an experienced hand would be appreciated.

Alex

On Tue, Nov 17, 2015 at 12:37 AM, Jayaprakash Arthanareeswaran <jarthana@xxxxxxxxxx> wrote:

Hey Alex,

First of all, good to hear about your interest. And apologize for not responding earlier - it is festival time here in India.

As you have already figured out, there is plenty of useful Java related features in jdt.ui that we want to make use of. I took exactly the same approach of loading the entire jdt.ui plugin. But it didn't work for various reasons. Foremost is the dependency with UI elements everywhere and as you said, it is not designed to work in a headless mode (of course). I had a discussion with the JDT UI lead and we came to the conclusion that the right approach will be to factor out the non-UI part from jdt.ui and move it to a separate bundle or JDT core. But that will mean all the functionality that is moved out must be exposed via proper APIs and that's not going to be small effort. We had some discussion on going forward, but the efforts never took off due to lack of resources.

This is where we stand. I agree, it will be very nice to get this up and running. I wish I had more time but unfortunately the team is busy with Java 9 support at the moment. But I am willing to help in any other way in term of consultation, review etc.

Regards,
Jay


Inactive hide details for Martin Lippert ---11/04/2015 10:12:37 PM---Hey Alex, I think that Jay is the right person to answer tMartin Lippert ---11/04/2015 10:12:37 PM---Hey Alex, I think that Jay is the right person to answer those detailed technical JDT questions that

From: Martin Lippert <mlippert@xxxxxxxxx>
To: Flux developer discussions <flux-dev@xxxxxxxxxxx>
Date: 11/04/2015 10:12 PM
Subject: Re: [flux-dev] General Observations from a Flux Newb
Sent by: flux-dev-bounces@xxxxxxxxxxx





Hey Alex,

I think that Jay is the right person to answer those detailed technical JDT questions that you raised below.
Jay, can you take a look? That would be great!

Thanks!
-Martin




>
> Flux Team,
>
> I've taken an interest in Flux recently, and I've been playing around with it for the past few weeks.  There's a lot to absorb, so bear with my if my observations are simplistic or just plain inaccurate.  First, I love the architecture.  I think it's absolutely the right model for transitioning to web-based development.  Martin recommended that I get started with quick assist, so I used that as my launch point for digging into the code base.  Should be simple, right?
>
> Well...I quickly discovered the jdt/ui source folder on the build, and wondered why we were essentially copying code from the jdt.ui bundle and placing it in a source folder.  I soon found out.  At least, I think I did.  When I decided to add the jdt.ui bundle to the manifest and remove jdt/ui as a source folder, my eclipse launch crashed.  Hmmm.  Go figure.  A little research led me to this discussion here:
>
>
http://dev.eclipse.org/mhonarc/lists/flux-dev/msg00043.html
>
> Also seems to be a threading constraint with the jdt.ui bundle.  Undeterred, I tried deploying that same build (with the jdt.ui bundle in the manifest--no jtd/ui source folder) as a headless service and debugging remotely.  I figured that this way I could discover whether some or all of the jdt.ui bundle classes could be used for our purposes outside the eclipse launch environment.  Worked like a champ until I tried to hit my breakpoints.  Turns out that I can't make the Flux web editor fire an event that is captured by the headless JDT service.  It doesn't create projects or files, etc, for me to then step through the quick assist code.
>
> This brings me to my next thought.  Would it make sense for the web editor component of Flux to be a "module" or "sub-component" of the Orion code base?  It seems that, between the jdt/ui and the web-editor, we are reproducing *a lot* of code that is not part of the Flux core value add.
>
> Anyway, it's quite possible that my newbness has me completely off base, and I'm almost certainly not telling anyone here anything they don't already know, but I would appreciate some feedback from the more experienced members of the team to help steer me in the right direction.
>
> I think this project has value to add to the community, and I don't mind putting in the time if someone will give me a little nudge in the right direction.
>
> Best wishes,
>
> Alex
>
>
>
>
> _______________________________________________
> flux-dev mailing list
> flux-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>
https://dev.eclipse.org/mailman/listinfo/flux-dev

_______________________________________________
flux-dev mailing list
flux-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/flux-dev



_______________________________________________
flux-dev mailing list
flux-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/flux-dev

GIF image


Back to the top