Getting FTP to Work with Ant in Eclipse[转]
2009-12-17 23:19
525 查看
摘自:http://devnulled.com/content/2004/11/getting-ftp-to-work-with-ant-in-eclipse/
I never seem to remember what I need to install to get the optional
For Ant 1.5, you will need to download NetComponents.jar.
For Ant 1.6 (Ant 1.6.2 is current in the Eclipse 3.1 Milestone as of this writing), you will needcommons-net.jar and the Jakarta ORO JAR file.
Grab the applicable files above and put them in your
I never seem to remember what I need to install to get the optional
<ftp>task in Ant working when it’s time to blow away Eclipse and start a fresh install. Here is the basic information you need to get it working:
For Ant 1.5, you will need to download NetComponents.jar.
For Ant 1.6 (Ant 1.6.2 is current in the Eclipse 3.1 Milestone as of this writing), you will needcommons-net.jar and the Jakarta ORO JAR file.
Grab the applicable files above and put them in your
$ECLIPSEHOME/plugins/org.apache.ant_$CURRENTVERSION/libfolder. You’ll then need to add the file(s) you copied to this directory to the Ant classpath which you can do by going to Window > Preferences, traverse down the tree on the left to Ant > Runtime, and use the dialog box which appears to add them. I usually use the “Add External JAR’s” option myself. Click “OK” when done,and then you should be good to go. You may however need to restart Eclipse.
相关文章推荐
- How to create a repository in Github with Eclipse?
- Unable to associate project with a runtime server in eclipse IDE
- 转一篇blog,这个人思路蛮清晰的 [do you want to work for a company with uninvolved management and a sweatshop mentality in which you occasionally see those people superior to you?]
- Some of the continuous-integration tools that work with Ant (From Ant in Action 2nd Edition)
- How To Work With JSON In Node.js / JavaScript
- How to work with Ant
- SP 2010: Getting started with LINQ to SharePoint in SharePoint 2010
- R and SAS in the curriculum: getting students to "think with data"
- Getting xVM to work in Opensolaris 2008.05
- Failed to Copy Aritfact in Eclipse Ganymede with Workspace Resolution Enabled
- eclipse 插件subclipse 错误 This client is too old to work with working copy
- How to effectively work with multiple files in Vim?
- Using a Service Locator to Work with MessageBoxes in an MVVM Application
- How to use bitBucket with EGit in Eclipse,如何在Eclipse中使用bitbucket远程仓库
- 【转】forcing Eclipse to work with Linux kernel (indexing kernel source)
- eclipse中svn的使用:Failed to run the WC DB work queue associated with 'E:\NewEclip
- Configuring Autofac to work with the ASP.NET Identity Framework in MVC 5
- [AWDwR4] Getting AJAX to work in Rails 3 with jQuery
- Tip: Getting Your Webcam To Work In Ubuntu
- How to Create J2ee Project With Maven in Eclipse