Using Eclipse with HTML5 Boilerplate - eclipse

I just got my new computer and I'm going to learn an IDE fresh. Everyone suggests Eclipse; therefore, I'll go with that. I downloaded Java EE for I may use it later for java programming also. I don't mind the bloat.
What I want to achieve is that every time I create a new website project that HTML5 Boilerplate also gets created as a template to the project. Anyone know how to achieve this?
Also any additional plugins for web dev or anything to do helpful with web development ideas with eclipse would be most appreciated.

If you are using Java EE eventually, I think the best strategy would be creating a Maven archetype. This way once you have your baseline project definition, you can archetype it and create all your subsequent projects from that.
Apache - Guide to creating archetypes
If you don't have Maven yet, you can get it here.
And the Maven Eclipse plugin can be installed from the update site: http://download.eclipse.org/technology/m2e/releases
Finally, since you are new to Eclipse, you can install plugins from Help > Install New Software. Best of luck! I know that's probably a lot to take in.

Related

Flex development in Eclipse

I was about to start with a chat application like this one. I was wondering how to do it on Eclipse. Does Eclipse support Flex development? Is there a plugin or a tool which I need to download for Eclipse?
I installed Flash Develop on my machine, but I am getting some issue in unzipping the zip file for Flex SDK which I can't figure out why. Thus I was thinking of switching to Eclipse. It will be really great if someone can also help me fix this issue.
Thanks,
Stone
Another solution would be to use Maven and especially the Flexmojos Plugin to build your application and to use Maven inside Eclipse. This was the way we did it for quite a long time, because Eclipse really sucked if a Project consisted of 50+ Sub-Projects. In the meanwile we switched to IntelliJ but are still using the Maven+Flexmojos approach.
Eclipse does not support Flex development by itself. You will need to purchase Flash Builder which is based on Eclipse. It can be used is a plug-in for an existing Eclipse installation, or installed as a standalone application. There isn't a free solution for using flex inside of eclipse that I am aware of.
Flash Builder has advantages and disadvantages compared to Flash Develop. Try both and see which one meets your requirements.
If you are having trouble using the Flex SDK to with Flash Develop, please post a new question with the details.

Migrate Java web project from netbeans to eclipse

I have looked at some forums on how to migrate Netbean’s java project to eclipse. But I was looking for a way how to migrate Netbean’s java web project (I used JSF and Primefaces) to eclipse. Since the project is not that much big, I will also dedicate my time to do it manually. But, I have not sure on how to do that. Should I have to move just packages, classes, jar files and xml files manually? I don't have a knowledge in maven or scripting as well.
Thank you for your help guys.
Convert your application to a Maven application, that way you can have portability between any of the major IDEs.
If you haven't done anything odd with your build scripts then its as easy as copying and pasting into your new project.

Boostrapping new Eclipse machines with all the Plugins

Bootstrapping Eclipse on new machines is such a time consuming process, you wind up asking yourself whether you really need each plugin. But there all handy, and help develop consistent habits.
Eclipse bootstrapping problems include:
Explaining / documenting what needs to happen
The actual time pasting in the right URLs and downloading
Version compatibility and dependencies
Eclipse likes to restart after each one
The changeover to the Eclipse Marketplace means that some plugins and instructions you find on the web tend to be inconsistent, depending on when they were written.
The Licenses... over and over and over... yes, yes, yes... I understand that the person installing needs to be aware of it, and have a chance to review them, but there's got to be a better way.
It'd be nice to have "patch file" (either binary or meta) that spells out what I want to add on top of stock Eclipse installation. I'd really like to find (or create) a 1 or 2 step process that sets up Eclipse, plus a favorite batch of plugins:
subclipse
m2eclipse
jetty support like runjettyrun
android sdk and plugin (or at least just the plugin)
aspectj
Web Objects / WOLiops
python, other langs
JVM Monitor, maybe EclEmma
probably a git plugin pretty soon.
Does command line maven help with any of this? It seems like its repository management would fit at least part of the functionality.
On a machine with an Eclipse installation matching your needs use File -> Export -> Install -> Installed software items to file. Import the generated file using the same menu on all other machines.
As Scott says, a good approach is to simply package a fully prepared Eclipse installation once all the plugins you need are installed. The downside is that you have to update most plugins afterwards.
Another option is to use Yoxos. With it, you can create a profile and configure it with all the plugins you need (and apparently Yoxos can do more than that).
Finally, this page might interest you concerning the configuration side of things.
Solution 1 is too search for more advanced Eclipse distributions.
For example, STS (Spring Tool Suite) comes with
AspectJ
EGit
m2e
(and of course) Spring IDE
One small trick can be done with m2e-android - Android Configurator for M2E Maven Integration. If installing it on clean Eclipse, it will also automatically resolve to install :
m2e
Android Developer Tools (ADT)

Make Custom Project template in Eclipse IDE

I have been using Eclipse IDE for a long time. Its a really great IDE for Java/C/C++ (and other languages with its THOUSANDS of plugins). Every once in a while, I get the need for creating a Javax interface. To do this normally, I would setup the new java project then add what I need. But, wouldn't it be nice if I could just make a template project to automatically include the code for the files. How would I go about doing this? It it even possible? The Eclipse CDT can make a new project type. So can the Google ADT and Google App engine. So I would imagine it is possible. But how?
You must write your Eclipse plug-in that implements org.eclipse.ui.newWizards extension point. You can extend an existing "New Java Project" wizard, and provide your custom project layout implementation (see the API).
Regarding java projects you might be familiar with maven. Maven offers of project template mechanism called archetypes. I never created an own archetype but the explanation to do this (Guide to Creating Archetypes) does not seems to be so complicated.
So although this is not a special eclipse solution it might be helpful for you. Together with the m2eclipse plugin it also works nice together with eclipse.

can i use only the eclipse IDE without using the myeclipse?

In my new project i work on, we use the myeclipse on top of Eclipse IDE.
Our architecture includes jsp, jsf, ajax, spring framework with hibernate persistence and also has blaze for some business validations. We also expose Web services. For the build we have the maven and ant. The server used is weblogic.Also like to mention that we use the Rational ClearCase for code versioning.
I know that myeclipse is bundled with loads of plugins to support the jsf, spring, hiberate, ant etc.
I really like to know whether the dependability of myeclipse plugins can be removed all together and customize the eclipse IDE to support the above architecture?
Kindly let me know your answers/ thoughts/ advices. Any piece of information will be highly valuable for me proceed.
Thanks in advance.
The Latest MyEclipse 8.0 has a specific plugins manager from which you can selectively install/uninstall the features you need.
To uninstall or reinstall a Lite module, simply bring up the MyEclipse Dashboard using Help > Manage MyEclipse Plug-ins... (or MyEclipse > Manage MyEclipse Plug-ins)
(source: myeclipseide.com)
I don't know about removing plug-ins from Eclipse, because I use IntelliJ. But I'd say that all the things you want to support are possible without plug-ins. It's just a matter of how much work you want to do and how much assistance you feel you need. You can always do whatever you want by hand.
If I go to Eclipse.org, I see that I can still download enterprise Java EE without MyEclipse. Maybe that's a place to start.
What's the problem? Is Eclipse too much of a memory hog with all those plug-ins?
I'm not sure what you'll replace all those plug-ins with if you remove them. I'd also like to hear how you'll benefit if you do so.
I love IntelliJ, and I especially love giving Eclipse a hard time, but the fact is that all IDEs gobble up a lot of RAM these days.
I think your needs might be solved using Eclipse (at least most of them): the WTP (Web Tools Platform) contains plug-ins needed for jsp,... for spring see this link in DZone. Webservices, Maven and Ant are also supported.
I don't know exactly the situation about Weblogic and Clearcase, but I'd be surprised if they are not supported at least basically.