Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] Need to run Ant script programmatically

Probably, but the platform's implementation is built around the generic
external tools support, and we are not clear whether we will be locked out
of the benefits it provides.

In addition, we did use AntRunner in 1.0 and had to build our own console.
It would be better if we could leverage the existing external tools console
used by 'Run Ant' command.

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4854



                                                                                                                                             
                      "Jeff McAffer"                                                                                                         
                      <Jeff_McAffer@xxxxxxx>         To:       platform-ant-dev@xxxxxxxxxxx                                                  
                      Sent by:                       cc:                                                                                     
                      platform-ant-dev-admin@        Subject:  Re: [platform-ant-dev] Need to run Ant script programmatically                
                      eclipse.org                                                                                                            
                                                                                                                                             
                                                                                                                                             
                      10/15/2002 10:32 AM                                                                                                    
                      Please respond to                                                                                                      
                      platform-ant-dev                                                                                                       
                                                                                                                                             
                                                                                                                                             




Dejan, can't you just build on top of AntRunner.run()?

Jeff




                      dejan@xxxxxxxxxx

                      Sent by:                        To:
platform-ant-dev@xxxxxxxxxxx
                      platform-ant-dev-admin@         cc:

                      eclipse.org                     Subject: Re:
[platform-ant-dev] Need to run Ant
                                                      script
programmatically

                      10/11/2002 07:50 PM

                      Please respond to

                      platform-ant-dev






We don't need it ASAP  but would like to be able to try it out sometimes
before the end of the year (I guess M4). What we would like to provide is a
one-stop-shop support for building update sites (a 'Build' button for
building features, plug-ins and fragments needed to publish on an update
site). This kind of infrastructure is somewhat tricky to do right, so the
sooner we get the needed API, the sooner we can start building on top of
it.

Perhaps an ideal timeline would be to get a first cut of the API for M3 so
that you can iterate based on our feedback until M4. Basically we don't
need anything over and above the current support provided by the 'Run Ant'
wizard, just need it in a 'headless' class that we can use in our own
wizard. That way people will not need to stare at the list of ant tasks
trying to figure out which one to select to do the right thing.

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4854



|---------+---------------------------------->
|         |           "Darin Swanson"        |
|         |           <darin_swanson@xxxxxxx>|
|         |           Sent by:               |
|         |           platform-ant-dev-admin@|
|         |           eclipse.org            |
|         |                                  |
|         |                                  |
|         |           10/11/2002 06:27 PM    |
|         |           Please respond to      |
|         |           platform-ant-dev       |
|         |                                  |
|---------+---------------------------------->
  >
---------------------------------------------------------------------------------------------------------------------|


  |
|
  |       To:       <platform-ant-dev@xxxxxxxxxxx>
|
  |       cc:
|
  |       Subject:  Re: [platform-ant-dev] Need to run Ant script
programmatically                                      |
  |
|
  |
|
  >
---------------------------------------------------------------------------------------------------------------------|





With a quick look, I see no technical reason for this to not be possible.
What kind of timeline are you looking at for implementing this enhancement?
The ant / external tools components will be making major changes over the
next couple of
milestones (not including M2).

Darins

>
>                       dejan@xxxxxxxxxx
>                       Sent by:                        To:
platform-ant-dev@xxxxxxxxxxx
>                       platform-ant-dev-admin@         cc:
>                       eclipse.org                     Subject:
[platform-ant-dev] Need to
>                                                       run Ant script
programmatically
>
>                       10/11/2002 04:36 PM
>                       Please respond to
>                       platform-ant-dev
>
>
>
>
>
>
>
>
> (A copy of the feature requiest 24718 posted here to start a discussion):
>
> PDE UI has a usability problem when it comes to building plug-ins and
> features.
> All the scripts can be generated programmatically but running them
requires
> UI-
> based 'Run Ant' wizard. From the PDE point of view, this wizard is too
low-
> level. A more user-friendly wizard provided by PDE would be better.
>
> For this to work, we need to be able to run Ant scripts programmatically
-
> without the mentioned wizard. We need to be able to select tasks and set
> properties programmatically, as well as get the runnable we can run in
our
> wizard.
>
> Therefore, we need a class that can accept a file path (we want
> to be able to run the build.xml file created outside the workspace),
> can allow us to select tasks to run and also allows us to set properties.
> In short we should be able to configure it in the analogous way a user
> can configure the RunAntWizard. The class would not have a 'run' method -
> instead, it would have 'getOperation()' that returns
IRunnableWithProgress
> that we can call from our wizard. The class can launch Ant Console
> (if configured to do so) but must do it ansynchronously because it will
> be executed on a non-GUI thread.
>
> Regards,
>
> Dejan Glozic, Ph.D.
> Manager, Eclipse Platform Components
> D2/MY7/8200/MKM
> IBM Canada Ltd.
> Tel. 905 413-2745  T/L 969-2745
> Fax. 905 413-4854
>
> _______________________________________________
> platform-ant-dev mailing list
> platform-ant-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-ant-dev
>
>

_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev



_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev




_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev





Back to the top