Eclipse PDT Ant - php

I downloaded the Eclipse PDT 2.0 GA release (Eclipse 3.4), however, it doesn't look like the Ant tools are included in this package. How can I install the eclipse Ant tools (editor, executable, etc...)?

This drove me crazy a couple days ago. In Galileo the update process is slightly different, which is bad forward design if you ask me (but I digress). Here's how you do it in Eclipse 3.5.
Help > Install New Software
From "Work with:" dropdown choose "Galileo - http://download.eclipse.org/releases/galileo"
Then expand "Programming Languages" and choose "Eclipse Java Development Tools".
You could install a different plugin, but this is the standard Eclipse Install.

So I found the answer to my own question. You need to install the Eclipse Java Development Tools. These can be found under Ganymede > Java Development > Eclipse Java Development Tools in Help > Software Updates > Available Software.

Not quite sure what you're looking for, but here's a list of the Eclipse Ant plugins:
http://www.eclipse.org/eclipse/ant/index.php

Thanks, I just had the same problem, and as you said, the Java Development Tools contained Ant.
Once you get Ant up and running, you may run into a related problem - this warning in all your Ant files:
No grammar constraints (DTD or XML schema) detected for the document.
The details are in this Stack Overflow question, but the short answer I used was to add this minimal DTD to my build files:
<!DOCTYPE project>

It seems like there ought to be a better option. Ant is a stand-alone tool. You ought not to have to load all the Java tools just to get Ant.

Related

Is it possible to "marry" Eclipse PHP with Java EE?

I've already got Eclipse for PHP-developers installed. Must I install a new version for Java EE, or can I "marry" it into the PHP version, for instance trough updates or plug-ins? The reason I ask is 1) I want to save space ('cause I'm greedy), 2) I want to not have to switch programs all the time ('cause I'm lazy). :)
Is it possible?
How do you do it?
get yourself eclipse classic
go to Help > Install new software
install PDT things
install Java EE things
use it while switching the perspectives
P.S. you might want to look into Aptana's eclipse plugin as alternative to PDT, while you're at it . Some people prefer it (ST2 user .. no real stake in this)
It should be possible to install both the PDT Eclipse and the Jave EE eclipse into the same folder i.e. merge the plugin folders.
Then you can use both features in the same Eclipse version.
You can add all the Java EE plugins and add the Java EE functionality to your copy. I actually did this the other way around. I started with Java EE and added the PDT php tools to my eclipse and it works fine.

IDE for PHP and Python Windows

I used to use netbeans for a while and really liked it.
But now, I wan't to expand my toolbox with Python, and Netbeans dropped support for Django, also Python support seems to suck in NB 7.0.
So I am looking for recommendations on IDE or Text Editor for Windows with support:
Python (possibly with Django)
PHP
HTML, CSS, JavaScript
FTP
GIT & SVN
I know Aptana 3 can do this, is there anything else?
I don't know Vim a lot, but would that be an option?
http://www.jetbrains.com/pycharm/ would be my first choice. JetBrains does a great job with making the editor valuable to you for more than just text entry. The different IDEs JetBrains offers are all basically the same even if they are configured for a slightly different language set.
Eclipse is an option, it has plugins for everything. I've never been much of a fan of Eclipse though. It's really plugable but not a great IDE compared to some of the other options.
EasyEclipse
Well Aptana is built upon eclipse, so you could just use the basic eclipse with all your necessary add ons.
Obviously you'll need Pydev for the python stuff and that has Django integration.
For some reason though I actually prefer netbeans for my php ide.
Tbh just try out a few and see which one you like best.
Eclipse and Visual Studio have plugins for just about everything. Eclipse is free, I think for Visual Studio though you'd have to get the professional version to run plugins...
NetBeans - If you are using 64-bit Windows do not hurry to install updates on 7.0+. 6.* is working fine.
You have ftp and you can set to upload on run of the project or on each save. You can download Python plugin by adding this url. It is not the best but it worked for me.
It is stable engough and powerful, since the eclipses are very buggy to me.
Aptana is currently the eclipse for web projects, and the people who are creating it are also the creators of pydev, so it would be my second choise.
Visual Studio's plugin VC.Php (Paid) is also powerful, because Visual Studio environment is good, but the plugin is buggy, too and sometimes seems to be updated with dalay of new suff, as whole it would be my 3rd choise.

Ubuntu - Eclipse & Netbeans alternative

I'm a php developer and I'm looking for an alternative to eclipse and netbeans.
Both don't run great on Ubuntu 11.04.
Any recommendations?
PHPStorm
Very smart IDE, PHP+css+JS, Inspections (it's very useful thing), smart autocomplete, plugins (svn, git, github, remote deployment, vim, sql-dialects...) and many other features.
There is also a dupe on that topic:
Best PHP IDE for Linux / Gnome ?
(It's quite outdated, and I'm refusing to closevote; so just a link.)
If you run on 11.04 already, you might find a suitable package of KDevelop 4.2, which added more robust PHP support. As a native app it's obviously more speedy.

Eclipse “must-have” development tools/plugins for PHP

According to this post, i ask $title.
Which are your favorite PHP coding related Eclipse plugins? Without you can't live? Why?
I list my own plugins of choice:
Eclipse PDT
Mylyn
Subclipse
Which are yours?
As a PHP developper, mainly back-end, I'm using :
Eclipse PDT for PHP development
It's one of the best free IDE for PHP, I think
Integration with Xdebug for debugging os pretty nice, too ;-)
Subversive for SVN integration
Aptana (plugged into PDT) for HTML/CSS/JS
Filesync (My project is on a Virtual Machine, which exports its files via a samba share ; this can take lots of time (several minutes) when re-building the project ; Filesync helps a lot with that)
About Eclipse, you can find lots of questions/answers about plugins ; some of them apply to PHP, too.
Aside from Eclipse, I also generally have a lightweight editor (like scite, or vim -- depending on the platform I'm working on) ; it's easier to take notes.
I'm a front-end developer, so I can't live without my Aptana plug-in. includes a nice PHP intellisense...Love it!

Which Eclipse version to install on Linux for PHP development

I have Slackware 12.1 and wish to try out Eclipse for PHP/HTML/JavaScript development. However, it seems I'm facing myriad of possible options and I'd hate to miss the best thing and give up on Eclipse (I'm currently using Geany, but I'm missing some stuff like , for example, auto-complete for JavaScript)
I'm currently looking into just installing All-in-one PDT package version 1.0.3 from here:
http://www.eclipse.org/pdt/downloads/
However, that seems to be Eclipse 3.3. There's also Slackware package for 3.4 here:
http://repository.slacky.eu/slackware-12.1/development/eclipse/3.4/
But it says it a "Classic" version. I'm not sure how hard would be to add PHP, HTML, JavaScript support for it.
Note: I don't plan to run PHP through Eclipse's integrated web server or anything like that. I just want a powerful editor.
P.S. Also, recommendations for something better than Eclipse that is for Linux and free are also welcome. I already used Kate, SciTE, Geany, Emacs, Vi and Bluefish, so those are not interesting.
Important: whatever you recommend, please explain reasons why. Don't rush to be the fastest gun in the west, as I'll downvote such answers that only say "use this"
I second Aptana wholeheartedly. Since it is based very closely off of Eclipse, if you ever decide to do coding that Aptana will not cover, you are still used to the general interface of Eclipse.
I don't want to say it is cut down, because it is not. It just has what you need for the languages and technologies you will be using it for. You can still add other plugins to it as well for SVN, CVS, etc. The interface is a bit less crowded as well.
I don't do a whole lot of javascript coding, but man, that is where is stands out from the crowd. It does a fantastic job with Javascript.
Also, you don't have to use Aptana's built in Jetty server to run PHP; you can just tell it where you local Apache server is.
If you want auto-complete for JavaScript, in that case you should to use some plug-in for Eclipse such as Aptana Studio, but Aptana is more than auto-compete tool for javascript, it has included a lot of unnecessary things that you don't need for regular development.
I have the same problem to find the right solution for JavaScript in Eclipse, Aptana was ok, but I hate the additional features that Aptana includes, I didn't find any good tool which could be added to Eclipse, for JavaScript :( For script languages such as JSP, Eclipse is like a song...nice,sweet and smooth...;)
I would recommend to use Eclipse 3.3 with PHP Development Tools. The All-in-one package should work fine. The great thing about using Eclipse as a PHP IDE is that you have great integration for Zend Debugger/XDebug and you can use common Eclipse Extensions like Mylyn or Subclipse also for PHP.
Eclipse 3.4 isn't useful for PHP Development at the moment because the final version of PDT 2.0 got delayed.
You could also take a look at Aptana or the current Netbeans 6.5 Milestone which both support PHP. Until PDT 2.0 they both provide better JavaScript Support than the current Eclipse 3.3 based PDT. Aptana is also based upon Eclipse.
I'm still using Eclipse 3.3.2 and PDT 1.0.3, and I'm pretty happy with it. I tried upgrading to Eclipse 3.4, using a few recent builds of PDT 2.0, but it was buggy. It would hang for a long time in certain situations (like when I was copying text in a PHP editor). And it would keep re-parsing all my code every time I re-launched Eclipse, which took forever. These issues will probably get fixed eventually, but I'd hold on unless you really want Eclipse 3.4.
Aptana is a good choice, dedicated Eclipse clone for web development.
I personally use Krusader's editor, which is crippled version of Kate (KWrite). Fast, nice code highlight, and many useful shortcuts (like Ctrl+D to comment selection language wise).
Javascript with PDT Eclipse and the plugin jseclipse makes all your problems go away! :)
With jseclipse the regular "Goto function with F3 keyboard press" works.

Categories