Ant FTP Task on OS X

Hi,

where do I have to put the netcomponents.jar so that I can use the FTP
task in Ant? Do I need to put it in the lib subdirectory inside the IDEA
application package? No matter where I put it, my ftp tasks are always
marked in red.

Dirk Dittert

6 comments

Have you tried the additional classpath entries in build file's properties
(right click on any target and select properties)?
At least that's where I added additional libs when I needed them in ant...

HTH,
Andrei

"Dirk Dittert" <dittert@despammed.com> wrote in message
news:1g8oza4.18q5dgu7s7vfcN%dittert@despammed.com...

Hi,

>

where do I have to put the netcomponents.jar so that I can use the FTP
task in Ant? Do I need to put it in the lib subdirectory inside the IDEA
application package? No matter where I put it, my ftp tasks are always
marked in red.

>

Dirk Dittert



0

Andrei Oprea <andrei_oprea@hotmail.com> wrote:

Have you tried the additional classpath entries in build file's properties
(right click on any target and select properties)?
At least that's where I added additional libs when I needed them in ant...


Yes I did. Didn't help...

Dirk Dittert

0

Does you ant script run well, or it failes (with NoClassDefFound, or unknown
task)?

--

Dmitry Peshehonov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Dirk Dittert" <dittert@despammed.com> wrote in message
news:1g8p0ye.8t0qj25olawwN%dittert@despammed.com...

Andrei Oprea <andrei_oprea@hotmail.com> wrote:

>

Have you tried the additional classpath entries in build file's

properties

(right click on any target and select properties)?
At least that's where I added additional libs when I needed them in

ant...
>

Yes I did. Didn't help...

>

Dirk Dittert



0

Dirk Dittert <dittert@despammed.com> wrote:

Yes I did. Didn't help...


Stupid me. I forgot that the ftp task needs NetComponents.jar not
commons-net-1.1.0.jar.

Sorry for that ;)

Dirk Dittert

0

Dmitry Peshehonov (JetBrains) <dyoma@intellij.com> wrote:

Does you ant script run well, or it failes (with NoClassDefFound, or unknown
task)?


Thank you, it's solved now by not making stupid mistakes.

I think another lib directory would be good. ]]>/lib is replaced
everytime I update the application on OS X and putting NetComponents.jar
into the class path (in the properties) is not enough to make syntax
highlighting work.

Dirk Dittert

0

Is this the same case on Windows XP? Why doesn't it work with commons-net and where can I get NetComponents?

Gregg

0

Please sign in to leave a comment.