| View previous topic :: View next topic |
| Author |
Message |
Paul Rosen Posted via mailing list.
|
Posted: Tue Oct 13, 2009 5:04 pm Post subject: Rake Task Runner and two parameters |
|
|
Hi all,
How do you pass two parameters to a rake task using rake task runner?
I tried putting:
param1=XXX param2=YYY
in the parameters input box but that just sets param1 to "XXX param2=YYY"
Thanks,
Paulie |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed Oct 14, 2009 9:46 am Post subject: Rake Task Runner and two parameters |
|
|
Hi Paul,
This indeed doesn't seem to work; not quite sure now why not - I
experimented with this a bit and the same command that the IDE runs
works as expected from the command line, but not when run from the IDE.
I'll have to take a deeper look at this (I filed
http://www.netbeans.org/issues/show_bug.cgi?id=174521, will fix for
6. . Unfortunately I can't think of a convenient workaround for this
now; setting the params to Rake Arguments in Project Properties -> Run
helps, but then they will be passed to every task you run. Another way
is to set the params to ENV yourself. But as I said, clearly these
workarounds are far from ideal.
Cheers,
Erno
Paul Rosen wrote:
| Quote: | Hi all,
How do you pass two parameters to a rake task using rake task runner?
I tried putting:
param1=XXX param2=YYY
in the parameters input box but that just sets param1 to "XXX param2=YYY"
Thanks,
Paulie
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|