Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-build] [eclipse/ice] c10255: Implemented auto-repackaging of New ICE Item proje...

All this is about is moving files so that the Java package hierarchy is correctly set up.  When generating code from templates with PDE you have to specify the directory hierarchy of the output.  Because we don't know what the user will want to name their new project this means that we have to rearange the generated java files after they are generated. 

So, say you create a new ICE item project and want it to be named `org.eclipse.ice.foo` and you want to have Model and JobLauncher classes for some code, Bar.  We need to have the output look like:

org/
  eclipse/
    ice/
      foo/
        model/
           BarModel.java
           BarModelBuilder.java
        launcher/
           BarJobLauncher.java
           BarJobLauncherBuilder.java

What this new bit does is makes sure that this directory hierarchy is created.

Andrew

On Fri, Jan 29, 2016 at 2:30 PM, Jay Jay Billings <jayjaybillings@xxxxxxxxx> wrote:

Will you please respond to it and tell us what this is all about?

Jay

On Jan 29, 2016 12:25 PM, "Andrew Bennett" <bennett.andr@xxxxxxxxx> wrote:
I did not see this.  Apparently I wasn't signed up to the build list, but now am.

Andrew

On Thu, Jan 28, 2016 at 5:33 PM, Jay Jay Billings <jayjaybillings@xxxxxxxxx> wrote:
Did you see this?

Jay


---------- Forwarded message ----------
From: Billings, Jay Jay <billingsjj@xxxxxxxx>
Date: Thu, Jan 28, 2016 at 2:26 PM
Subject: Re: [ice-build] [eclipse/ice] c10255: Implemented auto-repackaging of New ICE Item proje...
To: Ice build notices <ice-build@xxxxxxxxxxx>


I was wondering about that too. It certainly sounds cool!

Jay

From my phone.

From: "McCaskey, Alex"
Sent: Thursday, January 28, 2016 12:44 PM
To: Ice build notices
Subject: Re: [ice-build] [eclipse/ice] c10255: Implemented auto-repackaging of New ICE Item proje...


This sounds interesting. What do you mean by auto-repackaging? That sounds to me like generate an ICE plugin, then reboot ICE to have it added to ICE and usable from the create new Item wizard.

Alex

> On Jan 28, 2016, at 11:38 AM, GitHub <noreply@xxxxxxxxxx> wrote:
>
>  Branch: refs/heads/jay/projectSupport
>  Home:   https://github.com/eclipse/ice
>  Commit: c10255023888f4a34a18af7ce8844dec6ee2ef73
>      https://github.com/eclipse/ice/commit/c10255023888f4a34a18af7ce8844dec6ee2ef73
>  Author: arbennett <bennett.andr@xxxxxxxxx>
>  Date:   2016-01-27 (Wed, 27 Jan 2016)
>
>  Changed paths:
>    R org.eclipse.ice.parsergenerator.test/src/org/eclipse/ice/parsergenerator/test/ANTLRGrammarTester.java
>    A org.eclipse.ice.parsergenerator.test/src/org/eclipse/ice/parsergenerator/test/GrammarTester.java
>    M org.eclipse.ice.parsergenerator/META-INF/MANIFEST.MF
>    R org.eclipse.ice.parsergenerator/src/org/eclipse/ice/parsergenerator/antlr/ANTLRFlatGrammar.java
>    A org.eclipse.ice.parsergenerator/src/org/eclipse/ice/parsergenerator/grammars/FlatGrammar.java
>    M org.eclipse.ice.projectgeneration/src/org/eclipse/ice/projectgeneration/templates/ICEItemTemplate.java
>    M org.eclipse.ice.projectgeneration/src/org/eclipse/ice/projectgeneration/templates/ICEItemWizard.java
>    M org.eclipse.ice.projectgeneration/src/org/eclipse/ice/projectgeneration/wizards/NewICEItemProjectWizard.java
>    A org.eclipse.ice.projectgeneration/templates_3.4/ICEItem/src/$className$Launcher.java
>    A org.eclipse.ice.projectgeneration/templates_3.4/ICEItem/src/$className$LauncherBuilder.java
>    A org.eclipse.ice.projectgeneration/templates_3.4/ICEItem/src/$className$Model.java
>    A org.eclipse.ice.projectgeneration/templates_3.4/ICEItem/src/$className$ModelBuilder.java
>    R org.eclipse.ice.projectgeneration/templates_3.4/ICEItem/src/$packageName$/launcher/$className$Launcher.java
>    R org.eclipse.ice.projectgeneration/templates_3.4/ICEItem/src/$packageName$/launcher/$className$LauncherBuilder.java
>    R org.eclipse.ice.projectgeneration/templates_3.4/ICEItem/src/$packageName$/model/$className$Model.java
>    R org.eclipse.ice.projectgeneration/templates_3.4/ICEItem/src/$packageName$/model/$className$ModelBuilder.java
>
>  Log Message:
>  -----------
>  Implemented auto-repackaging of New ICE Item projects.
>
> Signed-off-by: arbennett <bennett.andr@xxxxxxxxx>
>
>
> _______________________________________________
> ice-build mailing list
> ice-build@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ice-build

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


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




--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings



Back to the top