FWIW, I kinda like it even outside an IDE context -- I use it to run
my apps at the command line with more brevity.

-T

On Sun, Aug 8, 2010 at 8:21 AM, Greg Brown <gkbr...@mac.com> wrote:
> The alternative is to use the other DesktopApplicationContext.main() method 
> (the one that just takes an array of String) and pass the name of the Pivot 
> application class as the first argument. The overloaded version that takes a 
> class and a string array is just a convenience method that delegates to this 
> one. It is used primarily for launching Pivot applications from within an IDE 
> - however, as I mentioned, if you are using Eclipse, this shortcut is no 
> longer necessary, since you can now use the Pivot plugin to launch a Pivot 
> application class directly. You can also use the plugin to launch BXML files 
> directly via the ScriptApplication launcher.
>
> G
>
> On Aug 8, 2010, at 1:24 AM, Michael Allman wrote:
>
>> I use it to launch my Pivot app so I'd rather it stay, but I can't say I'd 
>> be upset to see it go.  BTW, what is the preferred or suggested way for 
>> running a Pivot app?
>>
>> Also, if it does "go" I think marking it @deprecated first with a pointer to 
>> the alternative would be the smoothest way.  Subsequently, the method would 
>> be removed altogether.
>>
>> Michael
>>
>>
>> On Thu, 29 Jul 2010, Greg Brown wrote:
>>
>>> Hi all,
>>>
>>> Given that we now have a plugin that makes it easy to launch Pivot 
>>> applications within Eclipse via a context menu, I'm wondering if we still 
>>> need the DesktopApplicationContext.main(Class<? extends Application>, 
>>> String[]) method. As I recall, the primary reason this method was created 
>>> was to support this use case. It was a great suggestion (care of Noel) and 
>>> it has worked quite well - I'm just wondering if it is worth preserving in 
>>> Pivot 2.0.
>>>
>>> Let me know what you think.
>>>
>>> Greg
>>>
>
>

Reply via email to