Very long I have dealt with the issue when saving aquarium grapevine mills directly perform an FTP upload the changed file from eclipse out. So far I have used this software Fling File Transfer. Since this but in the newer versions apparently a memory leak has not run the old Windows 8, had to be an alternative.
I have now tested other products such PureSync or SyncBackPro, but none of the tools were a) to achieve aquarium grapevine mills the speed of Fling. Since I work with eclipse occurred to me even once briefly thought to another development environment to transfer. Paid gabs as Adobe Dreamweaver, which supports the FTP upload. Free gabs Aptana. I liked pretty well since Aptana is based on Eclipse.
So downloaded Aptana, unpacked and converted all projects and FTP Upload furnished. Worked great. Until I then for the first time had to work with. No matching color scheme for which all editors fit, etc. I was dissatisfied. So back to eclipse.
Who after "Eclipse automatic FTP upload on file change" searches on Google is often referred to RSE, the Remote System Explorer. But that was not what I was looking for. Now we come to the conclusion, aquarium grapevine mills however, the solution is to use ANT. In the following I will explain how to configure ANT in a PHP project and uses. Chapter: Prepare Eclipse for ANT & FTP
All of the following pictures / instructions are based on eclipse aquarium grapevine mills Kepler. Uses the standard version of eclipse here. Must be installed so that ANT may not work yet packages. For this to Help -> as Site Work with - -> Select Install new software -> "http://download.eclipse.org/releases/kepler Kepler". There, under General Purpose Tools -> "Eclipse plug-in development environment. "If necessary. the package is already installed by SVN or other tools.
Now we need two libs we need to copy into the eclipse directory. Download from the Apache website, the commons-net (currently commons-net-3.3-bin.zip) package. In the zip file you can now find the "commons-net-3.3.jar" file. Copy this into the eclipse directory.
Copy still from the Java JDK (if not installed, install the latest version) the file tools.jar. This is located in this path: C: \ Program Files \ Java \ jdk1.7.0_45 \ lib. (If necessary, adjust version number to you.
These 2 files should be moved ANT not added as classpath. Click into eclipse on Window -> Preferences -> ANT -> Runtime. Click here then click on "Ant Home Entries (Default)" and select the right "Add external JARs" Now select aquarium grapevine mills the two files. If you first select the commons-net file, a message will be displayed that the tools-lib is still missing. Confirm this and paste it in the same way the tools.lib aquarium grapevine mills added.
If necessary. ANT has to be activated manually. To do this click on File -> New -> Other -> Open the folder Java -> Java Project from Existing Ant Buildfile. Click Next. If now a dialogue with the question "Always enable activities and do not ask me again", you confirm this. Then you cancel the wizard. Chapter: Creating ANT configurations (build.xml / build.properties)
Now we need 2 new config files for the project. Insert a build.xml and build.properties in the project folder a file. Fill this with the following contents. On each of the options I'm a later
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 <? xml version = "1.0" encoding = "UTF-8"?> <project name = "MyProject"> <property aquarium grapevine mills file = "build.properties" /> <target name = "ftp-dev" description = "ftpDev"> <echo> Uploading aquarium grapevine mills files to "$ {ftp.dev.server}" ftp </ echo> <ftp server = "$ {ftp.dev.server}" userid = "$ {ftp.dev.user } "password =" $ {ftp.dev.password} "remotedir =" $ {ftp.dev.remotedir} "passive =" yes "binary =" yes "depends =" no "verbose =" yes "action =" put "> dir = <fileset "${local.dir}"> <exclude name = ".settings/" /> <exclude name = "**/.svn/" /> <exclude name =" build.xml aquarium grapevine mills "/ > <exclude name = ".project" /> <exclude name = ".buildpath" aquarium grapevine mills /> <exclude name = ".externalToolBuilders/" /> <exclude name = "*.properties" /> <modified cache = "property file" > <param name = "cache.cachefile" val
No comments:
Post a Comment