[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: External Plug-in Modification

Paul,

Thanks again for your response. Yes you did mention that method but I was 
digging around trying to figure out your first suggested method, which I 
could not do.

> I'd really suggest changing the port in the ftp ant task.  Use a property 
> that can be given the default, 21, so that if somebody just runs it they 
> get 21 and if you pass in your -Dftp.property=8001 you'll get your port.

Why can't I perform your first suggested method of doing this?

 I do appreciate your help and will try your other method asap.

Cheers,

bob


"PaulNews" <paulnews@xxxxxxxxx> wrote in message 
news:ef9r82$43h$1@xxxxxxxxxxxxxxxxxxxx
> Microsoft wrote:
>> Paul,
>>
>> I've read up on ant, xml, and the workbench. I've played with the 
>> "external
>> tools" of eclipse but can't seem to figure out anything but creating my 
>> own
>> ant tool. I find no reference to modifying any ant task that exists as 
>> the
>> eclipse ant plugin.
>>
>> How do I get to the ant task that's associated with ftp?
>
> You're gonna have to manually go digging for it, without any help from the 
> IDE.
>
> It should be in the org.apache.ant_1.6.5 plugin somewhere. Like I said:
>
> > 2) find the ant jar that contains the Ftp.class file
> > 3) replace it with your Ftp.class file (magically generated by you)
> > 4) rejar the plugin, and copy it back into eclipse/plugins directory
> > (saving the original, of course)
> > 5) restart eclipse with -clean
>
> I would copy the org.apache.ant plugin somewhere safe before I started 
> hacking changes into it.
>
> Later,
> PW