Home » Language IDEs » Java Development Tools (JDT) » Can't get Ant to accpet ecllipse variables as arguments
Can't get Ant to accpet ecllipse variables as arguments [message #8850] |
Tue, 29 April 2003 16:06 |
Eclipse User |
|
|
|
Originally posted by: eclipse.moermans.net
Hi,
I\'m having serious difficulties using Eclipse variables like
${project_loc} as arguments to my ant build. If I use anything like
-Dsrc=${project_loc} on the [main] tab of the ant runner/launcher, the
build runs once as expected but can\'t be changed anymore. As soon as I
open \'Create, run and manage configurations\' it reports [Targets]: Could
not run the external tool.
This is Eclipse 2.1 on Windows 2k sp3. No such problems with 2.0.2.
TIA,
Arjen
|
|
| |
Re: Can't get Ant to accpet ecllipse variables as arguments [message #9205 is a reply to message #8901] |
Wed, 30 April 2003 09:38 |
Eclipse User |
|
|
|
Originally posted by: eclipse.moermans.net
Darin,
Thanks for the reply, however even with a selection in the workspace I
still get the same error. What else could I be doing wrong?
Arjen
Darin Swanson wrote:
> You do not have a selection when you are opening the launch configuration
> dialog.
> The external tools framework cannot resolve the value of the ${project_loc}
> variable.
> Set a selection, in the workspace (a project in the Package Explorer for
> example) and then open the configuration for this Ant build.
>
> I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
> HTH
> Darins
>
> "Arjen" <eclipse@moermans.net> wrote in message
> news:b8m7u8$a40$1@rogue.oti.com...
>
>>Hi,
>>
>>I\'m having serious difficulties using Eclipse variables like
>>${project_loc} as arguments to my ant build. If I use anything like
>>-Dsrc=${project_loc} on the [main] tab of the ant runner/launcher, the
>>build runs once as expected but can\'t be changed anymore. As soon as I
>>open \'Create, run and manage configurations\' it reports [Targets]: Could
>>not run the external tool.
>>
>>This is Eclipse 2.1 on Windows 2k sp3. No such problems with 2.0.2.
>>
>>TIA,
>>Arjen
>>
>
>
>
|
|
| |
Re: Can't get Ant to accpet ecllipse variables as arguments [message #10886 is a reply to message #9769] |
Thu, 01 May 2003 10:20 |
Eclipse User |
|
|
|
Originally posted by: eclipse.moermans..net
Darin,
Thanks for logging the bug. I'm still stuck though. The workaround you
describe allows me to run the Ant Build, but I still can't change the
configuration. Whenever I open the 'External Tools ...' dialog I get
'[Targets]: Could not run the external tool.' The [Run] and [Apply]
buttons are disabled. When I try to make any change to the configuration
the [Revert] button gets enabled, but I can't [Run] or [Apply]. The only
way to make changes to the configuration is to delete the configuration
and recreate it from scratch. Your workaround does not seem to address this.
Thanks,
Arjen
Darin Swanson wrote:
> I have logged bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=37088
>
> From the bug:
> Workarounds:
> Relaunching the build or opening the buildfile in an editor and then using
> Run>External Tools>Run As>Ant Build does work.
>
> Thanks
> Darins
>
> "Arjen" <eclipse@moermans.net> wrote in message
> news:b8o5ja$5nq$1@rogue.oti.com...
>
>>Darin,
>>
>>Thanks for the reply, however even with a selection in the workspace I
>>still get the same error. What else could I be doing wrong?
>>
>>Arjen
>>
>>Darin Swanson wrote:
>>
>>>You do not have a selection when you are opening the launch
>
> configuration
>
>>>dialog.
>>>The external tools framework cannot resolve the value of the
>
> ${project_loc}
>
>>>variable.
>>>Set a selection, in the workspace (a project in the Package Explorer for
>>>example) and then open the configuration for this Ant build.
>>>
>>>I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
>>>HTH
>>>Darins
>>>
>>>"Arjen" <eclipse@moermans.net> wrote in message
>>>news:b8m7u8$a40$1@rogue.oti.com...
>>>
>>>
>>>>Hi,
>>>>
>>>>I\'m having serious difficulties using Eclipse variables like
>>>>${project_loc} as arguments to my ant build. If I use anything like
>>>>-Dsrc=${project_loc} on the [main] tab of the ant runner/launcher, the
>>>>build runs once as expected but can\'t be changed anymore. As soon as I
>>>>open \'Create, run and manage configurations\' it reports [Targets]:
>
> Could
>
>>>>not run the external tool.
>>>>
>>>>This is Eclipse 2.1 on Windows 2k sp3. No such problems with 2.0.2.
>>>>
>>>>TIA,
>>>>Arjen
>>>>
>>>
>>>
>>>
>
>
|
|
|
Re: Can't get Ant to accpet ecllipse variables as arguments [message #10899 is a reply to message #10886] |
Thu, 01 May 2003 10:28 |
Eclipse User |
|
|
|
Originally posted by: eclipse.moermans..net
And some additional info I forgot :-)
If I close the Run Confuration window ([Close] button) I get this error:
[Discard changes?]
{?} The configuration "Ant build.xml" has unsaved changes that CANNOT be
saved because of the following error:
[Targets]: Could not run the external tool.
Do you wish to discard changes?
[Yes] [[No]]
Of course I don't want to discard the changes, but I'm given no other
option :-(
Arjen
Arjen wrote:
> Darin,
>
> Thanks for logging the bug. I'm still stuck though. The workaround you
> describe allows me to run the Ant Build, but I still can't change the
> configuration. Whenever I open the 'External Tools ...' dialog I get
> '[Targets]: Could not run the external tool.' The [Run] and [Apply]
> buttons are disabled. When I try to make any change to the configuration
> the [Revert] button gets enabled, but I can't [Run] or [Apply]. The only
> way to make changes to the configuration is to delete the configuration
> and recreate it from scratch. Your workaround does not seem to address
> this.
>
> Thanks,
> Arjen
>
> Darin Swanson wrote:
>
>> I have logged bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=37088
>>
>> From the bug:
>> Workarounds:
>> Relaunching the build or opening the buildfile in an editor and then
>> using
>> Run>External Tools>Run As>Ant Build does work.
>>
>> Thanks
>> Darins
>>
>> "Arjen" <eclipse@moermans.net> wrote in message
>> news:b8o5ja$5nq$1@rogue.oti.com...
>>
>>> Darin,
>>>
>>> Thanks for the reply, however even with a selection in the workspace I
>>> still get the same error. What else could I be doing wrong?
>>>
>>> Arjen
>>>
>>> Darin Swanson wrote:
>>>
>>>> You do not have a selection when you are opening the launch
>>
>>
>> configuration
>>
>>>> dialog.
>>>> The external tools framework cannot resolve the value of the
>>
>>
>> ${project_loc}
>>
>>>> variable.
>>>> Set a selection, in the workspace (a project in the Package Explorer
>>>> for
>>>> example) and then open the configuration for this Ant build.
>>>>
>>>> I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
>>>> HTH
>>>> Darins
>>>>
>>>> "Arjen" <eclipse@moermans.net> wrote in message
>>>> news:b8m7u8$a40$1@rogue.oti.com...
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I\'m having serious difficulties using Eclipse variables like
>>>>> ${project_loc} as arguments to my ant build. If I use anything like
>>>>> -Dsrc=${project_loc} on the [main] tab of the ant runner/launcher, the
>>>>> build runs once as expected but can\'t be changed anymore. As soon
>>>>> as I
>>>>> open \'Create, run and manage configurations\' it reports [Targets]:
>>
>>
>> Could
>>
>>>>> not run the external tool.
>>>>>
>>>>> This is Eclipse 2.1 on Windows 2k sp3. No such problems with 2.0.2.
>>>>>
>>>>> TIA,
>>>>> Arjen
>>>>>
>>>>
>>>>
>>>>
>>
>>
>
|
|
|
Re: Can't get Ant to accpet ecllipse variables as arguments [message #10926 is a reply to message #10899] |
Thu, 01 May 2003 12:47 |
Darin Swanson Messages: 2386 Registered: July 2009 |
Senior Member |
|
|
In the 20030422 integration build you can save configurations that are in an
error state.
You are correct, my workaround only allows you to run not change the
configuration. The bug precludes making and saving the changes.
The bug is fixed for the integration build that will occur next Tuesday.
So you can move to the 20030422 integration build which will let you save
you config or I could help you manually edit the .launch file for that Ant
build if you tell my what you are trying to change?
HTH
Darins
"Arjen" <eclipse@moermans..net> wrote in message
news:b8qsrj$l3h$1@rogue.oti.com...
> And some additional info I forgot :-)
>
> If I close the Run Confuration window ([Close] button) I get this error:
>
> [Discard changes?]
>
> {?} The configuration "Ant build.xml" has unsaved changes that CANNOT be
> saved because of the following error:
> [Targets]: Could not run the external tool.
> Do you wish to discard changes?
>
> [Yes] [[No]]
>
> Of course I don't want to discard the changes, but I'm given no other
> option :-(
>
> Arjen
>
> Arjen wrote:
> > Darin,
> >
> > Thanks for logging the bug. I'm still stuck though. The workaround you
> > describe allows me to run the Ant Build, but I still can't change the
> > configuration. Whenever I open the 'External Tools ...' dialog I get
> > '[Targets]: Could not run the external tool.' The [Run] and [Apply]
> > buttons are disabled. When I try to make any change to the configuration
> > the [Revert] button gets enabled, but I can't [Run] or [Apply]. The only
> > way to make changes to the configuration is to delete the configuration
> > and recreate it from scratch. Your workaround does not seem to address
> > this.
> >
> > Thanks,
> > Arjen
> >
> > Darin Swanson wrote:
> >
> >> I have logged bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=37088
> >>
> >> From the bug:
> >> Workarounds:
> >> Relaunching the build or opening the buildfile in an editor and then
> >> using
> >> Run>External Tools>Run As>Ant Build does work.
> >>
> >> Thanks
> >> Darins
> >>
> >> "Arjen" <eclipse@moermans.net> wrote in message
> >> news:b8o5ja$5nq$1@rogue.oti.com...
> >>
> >>> Darin,
> >>>
> >>> Thanks for the reply, however even with a selection in the workspace I
> >>> still get the same error. What else could I be doing wrong?
> >>>
> >>> Arjen
> >>>
> >>> Darin Swanson wrote:
> >>>
> >>>> You do not have a selection when you are opening the launch
> >>
> >>
> >> configuration
> >>
> >>>> dialog.
> >>>> The external tools framework cannot resolve the value of the
> >>
> >>
> >> ${project_loc}
> >>
> >>>> variable.
> >>>> Set a selection, in the workspace (a project in the Package Explorer
> >>>> for
> >>>> example) and then open the configuration for this Ant build.
> >>>>
> >>>> I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
> >>>> HTH
> >>>> Darins
> >>>>
> >>>> "Arjen" <eclipse@moermans.net> wrote in message
> >>>> news:b8m7u8$a40$1@rogue.oti.com...
> >>>>
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>> I\'m having serious difficulties using Eclipse variables like
> >>>>> ${project_loc} as arguments to my ant build. If I use anything like
> >>>>> -Dsrc=${project_loc} on the [main] tab of the ant runner/launcher,
the
> >>>>> build runs once as expected but can\'t be changed anymore. As soon
> >>>>> as I
> >>>>> open \'Create, run and manage configurations\' it reports [Targets]:
> >>
> >>
> >> Could
> >>
> >>>>> not run the external tool.
> >>>>>
> >>>>> This is Eclipse 2.1 on Windows 2k sp3. No such problems with 2.0.2.
> >>>>>
> >>>>> TIA,
> >>>>> Arjen
> >>>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
> >
>
|
|
|
Re: Can't get Ant to accpet ecllipse variables as arguments [message #10967 is a reply to message #10926] |
Thu, 01 May 2003 16:39 |
Eclipse User |
|
|
|
Originally posted by: eclipse.moermans..net
Darin,
I can wait for the integration build.
Thanks for the offer, but you've helped me more than enough as it is.
Arjen
Darin Swanson wrote:
> In the 20030422 integration build you can save configurations that are in an
> error state.
>
> You are correct, my workaround only allows you to run not change the
> configuration. The bug precludes making and saving the changes.
> The bug is fixed for the integration build that will occur next Tuesday.
>
> So you can move to the 20030422 integration build which will let you save
> you config or I could help you manually edit the .launch file for that Ant
> build if you tell my what you are trying to change?
>
> HTH
> Darins
>
> "Arjen" <eclipse@moermans..net> wrote in message
> news:b8qsrj$l3h$1@rogue.oti.com...
>
>>And some additional info I forgot :-)
>>
>>If I close the Run Confuration window ([Close] button) I get this error:
>>
>>[Discard changes?]
>>
>>{?} The configuration "Ant build.xml" has unsaved changes that CANNOT be
>>saved because of the following error:
>>[Targets]: Could not run the external tool.
>>Do you wish to discard changes?
>>
>>[Yes] [[No]]
>>
>>Of course I don't want to discard the changes, but I'm given no other
>>option :-(
>>
>>Arjen
>>
>>Arjen wrote:
>>
>>>Darin,
>>>
>>>Thanks for logging the bug. I'm still stuck though. The workaround you
>>>describe allows me to run the Ant Build, but I still can't change the
>>>configuration. Whenever I open the 'External Tools ...' dialog I get
>>>'[Targets]: Could not run the external tool.' The [Run] and [Apply]
>>>buttons are disabled. When I try to make any change to the configuration
>>>the [Revert] button gets enabled, but I can't [Run] or [Apply]. The only
>>>way to make changes to the configuration is to delete the configuration
>>>and recreate it from scratch. Your workaround does not seem to address
>>>this.
>>>
>>>Thanks,
>>>Arjen
>>>
>>>Darin Swanson wrote:
>>>
>>>
>>>>I have logged bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=37088
>>>>
>>>>From the bug:
>>>>Workarounds:
>>>>Relaunching the build or opening the buildfile in an editor and then
>>>>using
>>>>Run>External Tools>Run As>Ant Build does work.
>>>>
>>>>Thanks
>>>>Darins
>>>>
>>>>"Arjen" <eclipse@moermans.net> wrote in message
>>>>news:b8o5ja$5nq$1@rogue.oti.com...
>>>>
>>>>
>>>>>Darin,
>>>>>
>>>>>Thanks for the reply, however even with a selection in the workspace I
>>>>>still get the same error. What else could I be doing wrong?
>>>>>
>>>>>Arjen
>>>>>
>>>>>Darin Swanson wrote:
>>>>>
>>>>>
>>>>>>You do not have a selection when you are opening the launch
>>>>
>>>>
>>>>configuration
>>>>
>>>>
>>>>>>dialog.
>>>>>>The external tools framework cannot resolve the value of the
>>>>
>>>>
>>>>${project_loc}
>>>>
>>>>
>>>>>>variable.
>>>>>>Set a selection, in the workspace (a project in the Package Explorer
>>>>>>for
>>>>>>example) and then open the configuration for this Ant build.
>>>>>>
>>>>>>I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
>>>>>>HTH
>>>>>>Darins
>>>>>>
>>>>>>"Arjen" <eclipse@moermans.net> wrote in message
>>>>>>news:b8m7u8$a40$1@rogue.oti.com...
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi,
>>>>>>>
>>>>>>>I\'m having serious difficulties using Eclipse variables like
>>>>>>>${project_loc} as arguments to my ant build. If I use anything like
>>>>>>>-Dsrc=${project_loc} on the [main] tab of the ant runner/launcher,
>
> the
>
>>>>>>>build runs once as expected but can\'t be changed anymore. As soon
>>>>>>>as I
>>>>>>>open \'Create, run and manage configurations\' it reports [Targets]:
>>>>
>>>>
>>>>Could
>>>>
>>>>
>>>>>>>not run the external tool.
>>>>>>>
>>>>>>>This is Eclipse 2.1 on Windows 2k sp3. No such problems with 2.0.2.
>>>>>>>
>>>>>>>TIA,
>>>>>>>Arjen
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>
>
|
|
|
Re: Can't get Ant to accpet ecllipse variables as arguments [message #10980 is a reply to message #10967] |
Thu, 01 May 2003 16:47 |
Darin Swanson Messages: 2386 Registered: July 2009 |
Senior Member |
|
|
You don't have to wait...the build is already available.
You just have to download the build and use it :-)
This is the latest build that will allow you to save a config with errors:
http://download.eclipse.org/downloads/drops/I-I20030429-2003 04291456/index.p
hp
Darins
"Arjen" <eclipse@moermans..net> wrote in message
news:b8riki$5lg$1@rogue.oti.com...
> Darin,
>
> I can wait for the integration build.
> Thanks for the offer, but you've helped me more than enough as it is.
>
> Arjen
>
> Darin Swanson wrote:
> > In the 20030422 integration build you can save configurations that are
in an
> > error state.
> >
> > You are correct, my workaround only allows you to run not change the
> > configuration. The bug precludes making and saving the changes.
> > The bug is fixed for the integration build that will occur next Tuesday.
> >
> > So you can move to the 20030422 integration build which will let you
save
> > you config or I could help you manually edit the .launch file for that
Ant
> > build if you tell my what you are trying to change?
> >
> > HTH
> > Darins
> >
> > "Arjen" <eclipse@moermans..net> wrote in message
> > news:b8qsrj$l3h$1@rogue.oti.com...
> >
> >>And some additional info I forgot :-)
> >>
> >>If I close the Run Confuration window ([Close] button) I get this error:
> >>
> >>[Discard changes?]
> >>
> >>{?} The configuration "Ant build.xml" has unsaved changes that CANNOT be
> >>saved because of the following error:
> >>[Targets]: Could not run the external tool.
> >>Do you wish to discard changes?
> >>
> >>[Yes] [[No]]
> >>
> >>Of course I don't want to discard the changes, but I'm given no other
> >>option :-(
> >>
> >>Arjen
> >>
> >>Arjen wrote:
> >>
> >>>Darin,
> >>>
> >>>Thanks for logging the bug. I'm still stuck though. The workaround you
> >>>describe allows me to run the Ant Build, but I still can't change the
> >>>configuration. Whenever I open the 'External Tools ...' dialog I get
> >>>'[Targets]: Could not run the external tool.' The [Run] and [Apply]
> >>>buttons are disabled. When I try to make any change to the
configuration
> >>>the [Revert] button gets enabled, but I can't [Run] or [Apply]. The
only
> >>>way to make changes to the configuration is to delete the configuration
> >>>and recreate it from scratch. Your workaround does not seem to address
> >>>this.
> >>>
> >>>Thanks,
> >>>Arjen
> >>>
> >>>Darin Swanson wrote:
> >>>
> >>>
> >>>>I have logged bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=37088
> >>>>
> >>>>From the bug:
> >>>>Workarounds:
> >>>>Relaunching the build or opening the buildfile in an editor and then
> >>>>using
> >>>>Run>External Tools>Run As>Ant Build does work.
> >>>>
> >>>>Thanks
> >>>>Darins
> >>>>
> >>>>"Arjen" <eclipse@moermans.net> wrote in message
> >>>>news:b8o5ja$5nq$1@rogue.oti.com...
> >>>>
> >>>>
> >>>>>Darin,
> >>>>>
> >>>>>Thanks for the reply, however even with a selection in the workspace
I
> >>>>>still get the same error. What else could I be doing wrong?
> >>>>>
> >>>>>Arjen
> >>>>>
> >>>>>Darin Swanson wrote:
> >>>>>
> >>>>>
> >>>>>>You do not have a selection when you are opening the launch
> >>>>
> >>>>
> >>>>configuration
> >>>>
> >>>>
> >>>>>>dialog.
> >>>>>>The external tools framework cannot resolve the value of the
> >>>>
> >>>>
> >>>>${project_loc}
> >>>>
> >>>>
> >>>>>>variable.
> >>>>>>Set a selection, in the workspace (a project in the Package Explorer
> >>>>>>for
> >>>>>>example) and then open the configuration for this Ant build.
> >>>>>>
> >>>>>>I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
> >>>>>>HTH
> >>>>>>Darins
> >>>>>>
> >>>>>>"Arjen" <eclipse@moermans.net> wrote in message
> >>>>>>news:b8m7u8$a40$1@rogue.oti.com...
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I\'m having serious difficulties using Eclipse variables like
> >>>>>>>${project_loc} as arguments to my ant build. If I use anything like
> >>>>>>>-Dsrc=${project_loc} on the [main] tab of the ant runner/launcher,
> >
> > the
> >
> >>>>>>>build runs once as expected but can\'t be changed anymore. As soon
> >>>>>>>as I
> >>>>>>>open \'Create, run and manage configurations\' it reports
[Targets]:
> >>>>
> >>>>
> >>>>Could
> >>>>
> >>>>
> >>>>>>>not run the external tool.
> >>>>>>>
> >>>>>>>This is Eclipse 2.1 on Windows 2k sp3. No such problems with 2.0.2.
> >>>>>>>
> >>>>>>>TIA,
> >>>>>>>Arjen
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>
> >
> >
>
|
|
|
Re: Can't get Ant to accpet ecllipse variables as arguments [message #10995 is a reply to message #10980] |
Thu, 01 May 2003 16:48 |
Darin Swanson Messages: 2386 Registered: July 2009 |
Senior Member |
|
|
Never mind..you are waiting for the real fix that will come out next week.
I should learn to read before posting :-)
"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:b8rj2l$66h$1@rogue.oti.com...
> You don't have to wait...the build is already available.
> You just have to download the build and use it :-)
> This is the latest build that will allow you to save a config with errors:
>
http://download.eclipse.org/downloads/drops/I-I20030429-2003 04291456/index.p
> hp
>
> Darins
>
> "Arjen" <eclipse@moermans..net> wrote in message
> news:b8riki$5lg$1@rogue.oti.com...
> > Darin,
> >
> > I can wait for the integration build.
> > Thanks for the offer, but you've helped me more than enough as it is.
> >
> > Arjen
> >
> > Darin Swanson wrote:
> > > In the 20030422 integration build you can save configurations that are
> in an
> > > error state.
> > >
> > > You are correct, my workaround only allows you to run not change the
> > > configuration. The bug precludes making and saving the changes.
> > > The bug is fixed for the integration build that will occur next
Tuesday.
> > >
> > > So you can move to the 20030422 integration build which will let you
> save
> > > you config or I could help you manually edit the .launch file for that
> Ant
> > > build if you tell my what you are trying to change?
> > >
> > > HTH
> > > Darins
> > >
> > > "Arjen" <eclipse@moermans..net> wrote in message
> > > news:b8qsrj$l3h$1@rogue.oti.com...
> > >
> > >>And some additional info I forgot :-)
> > >>
> > >>If I close the Run Confuration window ([Close] button) I get this
error:
> > >>
> > >>[Discard changes?]
> > >>
> > >>{?} The configuration "Ant build.xml" has unsaved changes that CANNOT
be
> > >>saved because of the following error:
> > >>[Targets]: Could not run the external tool.
> > >>Do you wish to discard changes?
> > >>
> > >>[Yes] [[No]]
> > >>
> > >>Of course I don't want to discard the changes, but I'm given no other
> > >>option :-(
> > >>
> > >>Arjen
> > >>
> > >>Arjen wrote:
> > >>
> > >>>Darin,
> > >>>
> > >>>Thanks for logging the bug. I'm still stuck though. The workaround
you
> > >>>describe allows me to run the Ant Build, but I still can't change the
> > >>>configuration. Whenever I open the 'External Tools ...' dialog I get
> > >>>'[Targets]: Could not run the external tool.' The [Run] and [Apply]
> > >>>buttons are disabled. When I try to make any change to the
> configuration
> > >>>the [Revert] button gets enabled, but I can't [Run] or [Apply]. The
> only
> > >>>way to make changes to the configuration is to delete the
configuration
> > >>>and recreate it from scratch. Your workaround does not seem to
address
> > >>>this.
> > >>>
> > >>>Thanks,
> > >>>Arjen
> > >>>
> > >>>Darin Swanson wrote:
> > >>>
> > >>>
> > >>>>I have logged bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=37088
> > >>>>
> > >>>>From the bug:
> > >>>>Workarounds:
> > >>>>Relaunching the build or opening the buildfile in an editor and then
> > >>>>using
> > >>>>Run>External Tools>Run As>Ant Build does work.
> > >>>>
> > >>>>Thanks
> > >>>>Darins
> > >>>>
> > >>>>"Arjen" <eclipse@moermans.net> wrote in message
> > >>>>news:b8o5ja$5nq$1@rogue.oti.com...
> > >>>>
> > >>>>
> > >>>>>Darin,
> > >>>>>
> > >>>>>Thanks for the reply, however even with a selection in the
workspace
> I
> > >>>>>still get the same error. What else could I be doing wrong?
> > >>>>>
> > >>>>>Arjen
> > >>>>>
> > >>>>>Darin Swanson wrote:
> > >>>>>
> > >>>>>
> > >>>>>>You do not have a selection when you are opening the launch
> > >>>>
> > >>>>
> > >>>>configuration
> > >>>>
> > >>>>
> > >>>>>>dialog.
> > >>>>>>The external tools framework cannot resolve the value of the
> > >>>>
> > >>>>
> > >>>>${project_loc}
> > >>>>
> > >>>>
> > >>>>>>variable.
> > >>>>>>Set a selection, in the workspace (a project in the Package
Explorer
> > >>>>>>for
> > >>>>>>example) and then open the configuration for this Ant build.
> > >>>>>>
> > >>>>>>I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
> > >>>>>>HTH
> > >>>>>>Darins
> > >>>>>>
> > >>>>>>"Arjen" <eclipse@moermans.net> wrote in message
> > >>>>>>news:b8m7u8$a40$1@rogue.oti.com...
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>>Hi,
> > >>>>>>>
> > >>>>>>>I\'m having serious difficulties using Eclipse variables like
> > >>>>>>>${project_loc} as arguments to my ant build. If I use anything
like
> > >>>>>>>-Dsrc=${project_loc} on the [main] tab of the ant
runner/launcher,
> > >
> > > the
> > >
> > >>>>>>>build runs once as expected but can\'t be changed anymore. As
soon
> > >>>>>>>as I
> > >>>>>>>open \'Create, run and manage configurations\' it reports
> [Targets]:
> > >>>>
> > >>>>
> > >>>>Could
> > >>>>
> > >>>>
> > >>>>>>>not run the external tool.
> > >>>>>>>
> > >>>>>>>This is Eclipse 2.1 on Windows 2k sp3. No such problems with
2.0.2.
> > >>>>>>>
> > >>>>>>>TIA,
> > >>>>>>>Arjen
> > >>>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>
> > >
> > >
> >
>
>
|
|
|
Re: Can't get Ant to accpet ecllipse variables as arguments [message #11783 is a reply to message #10980] |
Fri, 02 May 2003 10:27 |
Eclipse User |
|
|
|
Originally posted by: eclipse.moermans..net
Darin,
And thus I did not wait. This build behaves a little better, but not as
I expected. I still get the error: '[Targets]: Could not run the
external tool. and more ...
I am now allowed to make changes to the arguments on the [Main] tab.
Once I edited the arguments the [Apply] button is enabled and I can
save. So far so good. I'm still experiencing two problems.
1. I can not specify/change a build target, since the list of targets on
the [Targets] tab remains empty. This only happens because of the error.
I don't see this behaviour when not using eclipse variables as arguments
on the [Main] tab.
2. Also, I still can't right click the build.xml file in the project and
use 'Run Ant ...' from the context menu. The [Run] button is and stays
disabled whatever I tried.
As a side note/question. As I'm new to using Ant and using Ant in
combination with Eclipse. Am I doing something completely out of the
ordinary? Is there another way that I should/can communicate Eclipse
context information like ${project_loc} to my Ant build script. I'm
using -Dsrc=${project_loc} because this was the first (sometimes not the
best) thing I could think of. How else could I create a generic
build.xml file in combination for use with Eclipse?
Thanks for your time and effort,
Arjen
Darin Swanson wrote:
> You don't have to wait...the build is already available.
> You just have to download the build and use it :-)
> This is the latest build that will allow you to save a config with errors:
> http://download.eclipse.org/downloads/drops/I-I20030429-2003 04291456/index.p
> hp
>
> Darins
>
> "Arjen" <eclipse@moermans..net> wrote in message
> news:b8riki$5lg$1@rogue.oti.com...
>
>>Darin,
>>
>>I can wait for the integration build.
>>Thanks for the offer, but you've helped me more than enough as it is.
>>
>>Arjen
>>
>>Darin Swanson wrote:
>>
>>>In the 20030422 integration build you can save configurations that are
>
> in an
>
>>>error state.
>>>
>>>You are correct, my workaround only allows you to run not change the
>>>configuration. The bug precludes making and saving the changes.
>>>The bug is fixed for the integration build that will occur next Tuesday.
>>>
>>>So you can move to the 20030422 integration build which will let you
>
> save
>
>>>you config or I could help you manually edit the .launch file for that
>
> Ant
>
>>>build if you tell my what you are trying to change?
>>>
>>>HTH
>>>Darins
>>>
>>>"Arjen" <eclipse@moermans..net> wrote in message
>>>news:b8qsrj$l3h$1@rogue.oti.com...
>>>
>>>
>>>>And some additional info I forgot :-)
>>>>
>>>>If I close the Run Confuration window ([Close] button) I get this error:
>>>>
>>>>[Discard changes?]
>>>>
>>>>{?} The configuration "Ant build.xml" has unsaved changes that CANNOT be
>>>>saved because of the following error:
>>>>[Targets]: Could not run the external tool.
>>>>Do you wish to discard changes?
>>>>
>>>>[Yes] [[No]]
>>>>
>>>>Of course I don't want to discard the changes, but I'm given no other
>>>>option :-(
>>>>
>>>>Arjen
>>>>
>>>>Arjen wrote:
>>>>
>>>>
>>>>>Darin,
>>>>>
>>>>>Thanks for logging the bug. I'm still stuck though. The workaround you
>>>>>describe allows me to run the Ant Build, but I still can't change the
>>>>>configuration. Whenever I open the 'External Tools ...' dialog I get
>>>>>'[Targets]: Could not run the external tool.' The [Run] and [Apply]
>>>>>buttons are disabled. When I try to make any change to the
>
> configuration
>
>>>>>the [Revert] button gets enabled, but I can't [Run] or [Apply]. The
>
> only
>
>>>>>way to make changes to the configuration is to delete the configuration
>>>>>and recreate it from scratch. Your workaround does not seem to address
>>>>>this.
>>>>>
>>>>>Thanks,
>>>>>Arjen
>>>>>
>>>>>Darin Swanson wrote:
>>>>>
>>>>>
>>>>>
>>>>>>I have logged bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=37088
>>>>>>
>>>>>
>>>>>>From the bug:
>>>>>
>>>>>>Workarounds:
>>>>>>Relaunching the build or opening the buildfile in an editor and then
>>>>>>using
>>>>>>Run>External Tools>Run As>Ant Build does work.
>>>>>>
>>>>>>Thanks
>>>>>>Darins
>>>>>>
>>>>>>"Arjen" <eclipse@moermans.net> wrote in message
>>>>>>news:b8o5ja$5nq$1@rogue.oti.com...
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Darin,
>>>>>>>
>>>>>>>Thanks for the reply, however even with a selection in the workspace
>
> I
>
>>>>>>>still get the same error. What else could I be doing wrong?
>>>>>>>
>>>>>>>Arjen
>>>>>>>
>>>>>>>Darin Swanson wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>You do not have a selection when you are opening the launch
>>>>>>
>>>>>>
>>>>>>configuration
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>dialog.
>>>>>>>>The external tools framework cannot resolve the value of the
>>>>>>
>>>>>>
>>>>>>${project_loc}
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>variable.
>>>>>>>>Set a selection, in the workspace (a project in the Package Explorer
>>>>>>>>for
>>>>>>>>example) and then open the configuration for this Ant build.
>>>>>>>>
>>>>>>>>I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
>>>>>>>>HTH
>>>>>>>>Darins
>>>>>>>>
>>>>>>>>"Arjen" <eclipse@moermans.net> wrote in message
>>>>>>>>news:b8m7u8$a40$1@rogue.oti.com...
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Hi,
>>>>>>>>>
>>>>>>>>>I\'m having serious difficulties using Eclipse variables like
>>>>>>>>>${project_loc} as arguments to my ant build. If I use anything like
>>>>>>>>>-Dsrc=${project_loc} on the [main] tab of the ant runner/launcher,
>>>
>>>the
>>>
>>>
>>>>>>>>>build runs once as expected but can\'t be changed anymore. As soon
>>>>>>>>>as I
>>>>>>>>>open \'Create, run and manage configurations\' it reports
>
> [Targets]:
>
>>>>>>
>>>>>>Could
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>not run the external tool.
>>>>>>>>>
>>>>>>>>>This is Eclipse 2.1 on Windows 2k sp3. No such problems with 2.0.2.
>>>>>>>>>
>>>>>>>>>TIA,
>>>>>>>>>Arjen
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>
>
>
|
|
|
Re: Can't get Ant to accpet ecllipse variables as arguments [message #12268 is a reply to message #11783] |
Fri, 02 May 2003 12:56 |
Darin Swanson Messages: 2386 Registered: July 2009 |
Senior Member |
|
|
The fix for the Targets tab will be in the build next Tuesday.
Both 1. and 2. will be fixed with the fix to the Targets tab
Your use of Ant seems reasonable...we just had a bug on the variable
expansion.
What are you using the src property for? Have you tried working with setting
properties relative to ${basedir}?
Sorry for the trouble
Darins
"Arjen" <eclipse@moermans..net> wrote in message
news:b8th6r$g48$1@rogue.oti.com...
> Darin,
>
> And thus I did not wait. This build behaves a little better, but not as
> I expected. I still get the error: '[Targets]: Could not run the
> external tool. and more ...
>
> I am now allowed to make changes to the arguments on the [Main] tab.
> Once I edited the arguments the [Apply] button is enabled and I can
> save. So far so good. I'm still experiencing two problems.
>
> 1. I can not specify/change a build target, since the list of targets on
> the [Targets] tab remains empty. This only happens because of the error.
> I don't see this behaviour when not using eclipse variables as arguments
> on the [Main] tab.
>
> 2. Also, I still can't right click the build.xml file in the project and
> use 'Run Ant ...' from the context menu. The [Run] button is and stays
> disabled whatever I tried.
>
> As a side note/question. As I'm new to using Ant and using Ant in
> combination with Eclipse. Am I doing something completely out of the
> ordinary? Is there another way that I should/can communicate Eclipse
> context information like ${project_loc} to my Ant build script. I'm
> using -Dsrc=${project_loc} because this was the first (sometimes not the
> best) thing I could think of. How else could I create a generic
> build.xml file in combination for use with Eclipse?
>
> Thanks for your time and effort,
> Arjen
>
> Darin Swanson wrote:
> > You don't have to wait...the build is already available.
> > You just have to download the build and use it :-)
> > This is the latest build that will allow you to save a config with
errors:
> >
http://download.eclipse.org/downloads/drops/I-I20030429-2003 04291456/index.p
> > hp
> >
> > Darins
> >
> > "Arjen" <eclipse@moermans..net> wrote in message
> > news:b8riki$5lg$1@rogue.oti.com...
> >
> >>Darin,
> >>
> >>I can wait for the integration build.
> >>Thanks for the offer, but you've helped me more than enough as it is.
> >>
> >>Arjen
> >>
> >>Darin Swanson wrote:
> >>
> >>>In the 20030422 integration build you can save configurations that are
> >
> > in an
> >
> >>>error state.
> >>>
> >>>You are correct, my workaround only allows you to run not change the
> >>>configuration. The bug precludes making and saving the changes.
> >>>The bug is fixed for the integration build that will occur next
Tuesday.
> >>>
> >>>So you can move to the 20030422 integration build which will let you
> >
> > save
> >
> >>>you config or I could help you manually edit the .launch file for that
> >
> > Ant
> >
> >>>build if you tell my what you are trying to change?
> >>>
> >>>HTH
> >>>Darins
> >>>
> >>>"Arjen" <eclipse@moermans..net> wrote in message
> >>>news:b8qsrj$l3h$1@rogue.oti.com...
> >>>
> >>>
> >>>>And some additional info I forgot :-)
> >>>>
> >>>>If I close the Run Confuration window ([Close] button) I get this
error:
> >>>>
> >>>>[Discard changes?]
> >>>>
> >>>>{?} The configuration "Ant build.xml" has unsaved changes that CANNOT
be
> >>>>saved because of the following error:
> >>>>[Targets]: Could not run the external tool.
> >>>>Do you wish to discard changes?
> >>>>
> >>>>[Yes] [[No]]
> >>>>
> >>>>Of course I don't want to discard the changes, but I'm given no other
> >>>>option :-(
> >>>>
> >>>>Arjen
> >>>>
> >>>>Arjen wrote:
> >>>>
> >>>>
> >>>>>Darin,
> >>>>>
> >>>>>Thanks for logging the bug. I'm still stuck though. The workaround
you
> >>>>>describe allows me to run the Ant Build, but I still can't change the
> >>>>>configuration. Whenever I open the 'External Tools ...' dialog I get
> >>>>>'[Targets]: Could not run the external tool.' The [Run] and [Apply]
> >>>>>buttons are disabled. When I try to make any change to the
> >
> > configuration
> >
> >>>>>the [Revert] button gets enabled, but I can't [Run] or [Apply]. The
> >
> > only
> >
> >>>>>way to make changes to the configuration is to delete the
configuration
> >>>>>and recreate it from scratch. Your workaround does not seem to
address
> >>>>>this.
> >>>>>
> >>>>>Thanks,
> >>>>>Arjen
> >>>>>
> >>>>>Darin Swanson wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>I have logged bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=37088
> >>>>>>
> >>>>>
> >>>>>>From the bug:
> >>>>>
> >>>>>>Workarounds:
> >>>>>>Relaunching the build or opening the buildfile in an editor and then
> >>>>>>using
> >>>>>>Run>External Tools>Run As>Ant Build does work.
> >>>>>>
> >>>>>>Thanks
> >>>>>>Darins
> >>>>>>
> >>>>>>"Arjen" <eclipse@moermans.net> wrote in message
> >>>>>>news:b8o5ja$5nq$1@rogue.oti.com...
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Darin,
> >>>>>>>
> >>>>>>>Thanks for the reply, however even with a selection in the
workspace
> >
> > I
> >
> >>>>>>>still get the same error. What else could I be doing wrong?
> >>>>>>>
> >>>>>>>Arjen
> >>>>>>>
> >>>>>>>Darin Swanson wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>>You do not have a selection when you are opening the launch
> >>>>>>
> >>>>>>
> >>>>>>configuration
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>>dialog.
> >>>>>>>>The external tools framework cannot resolve the value of the
> >>>>>>
> >>>>>>
> >>>>>>${project_loc}
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>>variable.
> >>>>>>>>Set a selection, in the workspace (a project in the Package
Explorer
> >>>>>>>>for
> >>>>>>>>example) and then open the configuration for this Ant build.
> >>>>>>>>
> >>>>>>>>I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
> >>>>>>>>HTH
> >>>>>>>>Darins
> >>>>>>>>
> >>>>>>>>"Arjen" <eclipse@moermans.net> wrote in message
> >>>>>>>>news:b8m7u8$a40$1@rogue.oti.com...
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>>Hi,
> >>>>>>>>>
> >>>>>>>>>I\'m having serious difficulties using Eclipse variables like
> >>>>>>>>>${project_loc} as arguments to my ant build. If I use anything
like
> >>>>>>>>>-Dsrc=${project_loc} on the [main] tab of the ant
runner/launcher,
> >>>
> >>>the
> >>>
> >>>
> >>>>>>>>>build runs once as expected but can\'t be changed anymore. As
soon
> >>>>>>>>>as I
> >>>>>>>>>open \'Create, run and manage configurations\' it reports
> >
> > [Targets]:
> >
> >>>>>>
> >>>>>>Could
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>>>not run the external tool.
> >>>>>>>>>
> >>>>>>>>>This is Eclipse 2.1 on Windows 2k sp3. No such problems with
2.0.2.
> >>>>>>>>>
> >>>>>>>>>TIA,
> >>>>>>>>>Arjen
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>
> >
> >
>
|
|
|
Re: Can't get Ant to accpet ecllipse variables as arguments [message #12949 is a reply to message #12268] |
Sat, 03 May 2003 15:08 |
Eclipse User |
|
|
|
Originally posted by: eclipse.moermans..net
Darin,
I have not tried ${basedir} since I did not know about it. I tried now
and it actually does what I want. I'm using Ant to copy my files to my
production environment. ${basedir} allows me to do that without having
to specify any arguments. Great, even better! Thanks for the tip.
I'm happy though I found a bug that could be fixed in a next release.
Many thanks and keep up the good work.
Arjen
Darin Swanson wrote:
> The fix for the Targets tab will be in the build next Tuesday.
>
> Both 1. and 2. will be fixed with the fix to the Targets tab
>
> Your use of Ant seems reasonable...we just had a bug on the variable
> expansion.
> What are you using the src property for? Have you tried working with setting
> properties relative to ${basedir}?
>
> Sorry for the trouble
> Darins
>
> "Arjen" <eclipse@moermans..net> wrote in message
> news:b8th6r$g48$1@rogue.oti.com...
>
>>Darin,
>>
>>And thus I did not wait. This build behaves a little better, but not as
>>I expected. I still get the error: '[Targets]: Could not run the
>>external tool. and more ...
>>
>>I am now allowed to make changes to the arguments on the [Main] tab.
>>Once I edited the arguments the [Apply] button is enabled and I can
>>save. So far so good. I'm still experiencing two problems.
>>
>>1. I can not specify/change a build target, since the list of targets on
>>the [Targets] tab remains empty. This only happens because of the error.
>>I don't see this behaviour when not using eclipse variables as arguments
>>on the [Main] tab.
>>
>>2. Also, I still can't right click the build.xml file in the project and
>> use 'Run Ant ...' from the context menu. The [Run] button is and stays
>>disabled whatever I tried.
>>
>>As a side note/question. As I'm new to using Ant and using Ant in
>>combination with Eclipse. Am I doing something completely out of the
>>ordinary? Is there another way that I should/can communicate Eclipse
>>context information like ${project_loc} to my Ant build script. I'm
>>using -Dsrc=${project_loc} because this was the first (sometimes not the
>>best) thing I could think of. How else could I create a generic
>>build.xml file in combination for use with Eclipse?
>>
>>Thanks for your time and effort,
>>Arjen
>>
>>Darin Swanson wrote:
>>
>>>You don't have to wait...the build is already available.
>>>You just have to download the build and use it :-)
>>>This is the latest build that will allow you to save a config with
>
> errors:
>
> http://download.eclipse.org/downloads/drops/I-I20030429-2003 04291456/index.p
>
>>>hp
>>>
>>>Darins
>>>
>>>"Arjen" <eclipse@moermans..net> wrote in message
>>>news:b8riki$5lg$1@rogue.oti.com...
>>>
>>>
>>>>Darin,
>>>>
>>>>I can wait for the integration build.
>>>>Thanks for the offer, but you've helped me more than enough as it is.
>>>>
>>>>Arjen
>>>>
>>>>Darin Swanson wrote:
>>>>
>>>>
>>>>>In the 20030422 integration build you can save configurations that are
>>>
>>>in an
>>>
>>>
>>>>>error state.
>>>>>
>>>>>You are correct, my workaround only allows you to run not change the
>>>>>configuration. The bug precludes making and saving the changes.
>>>>>The bug is fixed for the integration build that will occur next
>
> Tuesday.
>
>>>>>So you can move to the 20030422 integration build which will let you
>>>
>>>save
>>>
>>>
>>>>>you config or I could help you manually edit the .launch file for that
>>>
>>>Ant
>>>
>>>
>>>>>build if you tell my what you are trying to change?
>>>>>
>>>>>HTH
>>>>>Darins
>>>>>
>>>>>"Arjen" <eclipse@moermans..net> wrote in message
>>>>>news:b8qsrj$l3h$1@rogue.oti.com...
>>>>>
>>>>>
>>>>>
>>>>>>And some additional info I forgot :-)
>>>>>>
>>>>>>If I close the Run Confuration window ([Close] button) I get this
>
> error:
>
>>>>>>[Discard changes?]
>>>>>>
>>>>>>{?} The configuration "Ant build.xml" has unsaved changes that CANNOT
>
> be
>
>>>>>>saved because of the following error:
>>>>>>[Targets]: Could not run the external tool.
>>>>>>Do you wish to discard changes?
>>>>>>
>>>>>>[Yes] [[No]]
>>>>>>
>>>>>>Of course I don't want to discard the changes, but I'm given no other
>>>>>>option :-(
>>>>>>
>>>>>>Arjen
>>>>>>
>>>>>>Arjen wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Darin,
>>>>>>>
>>>>>>>Thanks for logging the bug. I'm still stuck though. The workaround
>
> you
>
>>>>>>>describe allows me to run the Ant Build, but I still can't change the
>>>>>>>configuration. Whenever I open the 'External Tools ...' dialog I get
>>>>>>>'[Targets]: Could not run the external tool.' The [Run] and [Apply]
>>>>>>>buttons are disabled. When I try to make any change to the
>>>
>>>configuration
>>>
>>>
>>>>>>>the [Revert] button gets enabled, but I can't [Run] or [Apply]. The
>>>
>>>only
>>>
>>>
>>>>>>>way to make changes to the configuration is to delete the
>
> configuration
>
>>>>>>>and recreate it from scratch. Your workaround does not seem to
>
> address
>
>>>>>>>this.
>>>>>>>
>>>>>>>Thanks,
>>>>>>>Arjen
>>>>>>>
>>>>>>>Darin Swanson wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>I have logged bug
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=37088
>
>>>>>>>>From the bug:
>>>>>>>
>>>>>>>
>>>>>>>>Workarounds:
>>>>>>>>Relaunching the build or opening the buildfile in an editor and then
>>>>>>>>using
>>>>>>>>Run>External Tools>Run As>Ant Build does work.
>>>>>>>>
>>>>>>>>Thanks
>>>>>>>>Darins
>>>>>>>>
>>>>>>>>"Arjen" <eclipse@moermans.net> wrote in message
>>>>>>>>news:b8o5ja$5nq$1@rogue.oti.com...
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Darin,
>>>>>>>>>
>>>>>>>>>Thanks for the reply, however even with a selection in the
>
> workspace
>
>>>I
>>>
>>>
>>>>>>>>>still get the same error. What else could I be doing wrong?
>>>>>>>>>
>>>>>>>>>Arjen
>>>>>>>>>
>>>>>>>>>Darin Swanson wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>You do not have a selection when you are opening the launch
>>>>>>>>
>>>>>>>>
>>>>>>>>configuration
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>dialog.
>>>>>>>>>>The external tools framework cannot resolve the value of the
>>>>>>>>
>>>>>>>>
>>>>>>>>${project_loc}
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>variable.
>>>>>>>>>>Set a selection, in the workspace (a project in the Package
>
> Explorer
>
>>>>>>>>>>for
>>>>>>>>>>example) and then open the configuration for this Ant build.
>>>>>>>>>>
>>>>>>>>>>I logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=37059
>>>>>>>>>>HTH
>>>>>>>>>>Darins
>>>>>>>>>>
>>>>>>>>>>"Arjen" <eclipse@moermans.net> wrote in message
>>>>>>>>>>news:b8m7u8$a40$1@rogue.oti.com...
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>Hi,
>>>>>>>>>>>
>>>>>>>>>>>I\'m having serious difficulties using Eclipse variables like
>>>>>>>>>>>${project_loc} as arguments to my ant build. If I use anything
>
> like
>
>>>>>>>>>>>-Dsrc=${project_loc} on the [main] tab of the ant
>
> runner/launcher,
>
>>>>>the
>>>>>
>>>>>
>>>>>
>>>>>>>>>>>build runs once as expected but can\'t be changed anymore. As
>
> soon
>
>>>>>>>>>>>as I
>>>>>>>>>>>open \'Create, run and manage configurations\' it reports
>>>
>>>[Targets]:
>>>
>>>
>>>>>>>>Could
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>>not run the external tool.
>>>>>>>>>>>
>>>>>>>>>>>This is Eclipse 2.1 on Windows 2k sp3. No such problems with
>
> 2.0.2.
>
>>>>>>>>>>>TIA,
>>>>>>>>>>>Arjen
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>
>
>
|
|
|
Goto Forum:
Current Time: Sat Nov 09 02:19:26 GMT 2024
Powered by FUDForum. Page generated in 0.05180 seconds
|