Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I really need an easy to use build tool which supports multiple languages with strong Java support. I have tried Scons but found the Java support lacking. Is there anything else out there? I'm not excited about learning yet another build tool. Also, I really don't want a build tool which is difficult to use without an IDE since I use emacs and will be writing the build scripts by hand.
Edit:
When I said general purpose I meant a build tool that works with many languages. I'd like to save myself the time spent learning a new build system for every languages I use.
http://ant.apache.org/
Here is how to do C++ projects with Ant: http://www.codemesh.com/products/junction/doc/ant_cpp.html
Or http://ant-contrib.sourceforge.net/cpptasks/index.html
Ant, Maven, and Gradle all are designed for building Java applications.
EDIT: Let me expound....
Ant is a really good option. As the first very good open source java build system, it has grown to be a popular and widespread option. Most anything you will do in a typical java system has been done through Ant. You can find sample after sample and great tutorials on learning this. Now, just because it can handle everything doesn't mean it's quick and painless. There's a lot of 'boilerplate' build.xml that you almost certainly will be writing. Also, there is no dependency management.
Enter Maven -- Dependency management is handled very well here. Merely specify the name of the jar(s) that your project depends on and it will ensure that you have the appropriate version. Also, the help and tutorials available are very good and you can be up and building in 5 minutes.
Gradle -- this is a newer build system, built to take out most of the pain points and boilerplate code. This is a great option if you are interested in using/learning Groovy!
I would recommend ant. I used it for a java project and it worked great. But we had help from a person experienced in writing the build scripts so I don't know how easy it is.
I recommend Hudson as a general build management solution. You configure jobs and we point it at our revision control system to watch for checkins. It has strong java support, but can run any job as the build process, including chaining of jobs together.
Ant.
Most java online tutorial use Ant as build tool. You can find how it works by reading java tutorial.
You don't have to learn every single command in ANT, just learn a few which are useful :)
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'd like to install a Java application as a Windows service. I did so successfully a couple of years ago using this Java Service wrapper. Unfortunately, it seems like this tool is not in development anymore and thus no Windows 7 and 64 bit versions are available. I need to install my Java application on Windows 7 and XP machines.
Does anyone know a good alternative?
Edit: I need this for commercial use; the suggested Java Service Wrapper from Tanuki is too expensive.
Some time ago I used the tanuki project and we were very happy with it. I believe is one of the most popular ones.
There is also YAJSW that is based on tanuki (as I understand ) with a LGPL licence
I'm now using WinRun4J - a really nice, lean tool that is easy to configure and handle and usable in commercial applications. Many thanks to assylias, whose comment pointed my in the right direction.
I have used Tanuki's Java Service Wrapper with great success; it's easy to use.
There are community packages (free) and professional packages (license).
AlwaysUp is a commercial alternative that supports Windows 7 and XP. This step-by-step tutorial shows you how to setup a java application as a service.
I have recently used Java Service Wrapper from Tanukisoftware and it works perfectly on windows 7. Also the tool is pretty handy as it provides pretty extensive integration mechanism from simple jar execution to shutdown hook functionality as well.
For normal use, you can use their Community License which falls under GPL v2.0, however keep in mind if your intended use is on server, you might have to double check licensing options.
Also windows resource kit includes a tool called servany.exe which i successfully used on Windows Xp to start a jar file as a service by lanuching java.exe with arguments to my jar file, however since windows 7 this somehow does not work.
You might want to do a little research since i have read some forums about people still affirming that it works.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have tried using some browser based IDE's like cloud9 IDE recently. But it doesn't have direct support to code java programs. And I also read that we need to follow certain tedious procedures to write and compile java codes.
Is there any browser based IDE that will permit me to code and compile and share java applications directly? Also, does it have support for java web applications?
A good choice would be Koding.
It offers a free VM with root access, 4Gb disk, 2Gb ram and a burstable CPU.
You can basically install anything on it and it will run because behind all the UI it's a virtual Linux machine.
You can code your Java apps and run them afterwards directly in the browser.
There are a lot of Java developers and even groups that offer support. It offers collaboration features and you can code with your developer friends.
There is an ide called eXo Cloud IDE which has support for java language programming.
It is the only cloud IDE to support java language according to this link http://www.sdtimes.com/link/35860.
But this IDE is still in the beta stage.
It's pretty minimal, but http://ideone.com will let you compile and share basic Java programs.
I would not recommend any web-based IDE for serious Java development at this time.
Exo IDE, published by Exo Platform, is a cloud IDE that is focusing primarily on compiled languages with their first target being Java. They have support for maven, a variety of Java project types, auto completion, some types of code refactoring, JRebel, a range of PAAS integrations to deploy the Java project to. http://cloud-ide.com/
Disclosure: This product is going to be spun off from Exo Platform into a new company, and I'll be involved with that firm.
Here's a few to try.
Ace
Amy Editor
Koding
My team and I work on building http://www.cloud-ide.com with a clear focus on Java.
Check that video that shows how you can Debug Java apps in the cloud directly from the IDE: http://vimeo.com/40872612
Eclipse foundation launched their web-based IDE: Orion
I guess it is going to be an important contender.
For Java, https://codenvy.com has a powerful Maven based editor that offers git integration, build, run, and deployment. they also plan to expand with other build/run environments this year.
Also if your an Eclipse fan, Codenvy looks very eclipsy*. With a Java debugger which I think is a must for any editor.
Here is another one, JDoodle.com, in this you can run save and share java programs online.
http://www.compilejava.net/
Here's a new one, which DOES support Applets as well. You don't need to sign up to use it.
there is new one - goormIDE
http://goorm.io
http://github.com/xenoz0718/goorm
if you use node.js, just type this : npm install goorm -g
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I need a tool to manage a project that I developing, but I don't know what to use.
Many are the requirements, I need a tool to manage the TO DO things, the bugs found with tools like FindBugs, PMD, etc., the text documentation, the UML, versions, backup, etc.
In another words, all that is possible to manage, but I need a tool like this to manage various aspects of the project. Maybe something integrated with Eclipse.
What tools are recommended for this?
Example: I know that Sonar is useful for manage the bugs found, but other things I don't know.
EDIT: There is a portable bug tracker?
I tend to use Netbeans IDE quite a bit because it is also able to open and edit Eclipse projects so it tends to be a very versatile IDE. It also features a Visual GUI Builder.
You might look at Trac. It works well with Subversion.
http://trac.edgewall.org/
Do you really need a tool? As in one?
That's not, in general, how projects are managed, ime.
For todo and bugs, Trac is good (and integrated with Eclipse), though if you're willing to spend $10, I personally prefer JIRA.
For versions and backup, that's version control: subversion or git. Both are integrated with eclipse.
For documentation and uml, I'm not sure what you mean by manage - just making sure you don't lose them? version control again. Documenting what exists? Wiki's pretty good.
If you are looking for Open Source solution, I found these best
Redmine
trac
Both of them easy integration with eclipse.
Some open source project management tools in java
Open Source Project Management Tools in Java
Apache Maven
Open Source Issue Tracking Software in Java
Source Control Tools in Java
Open Source IDEs in Java
Open Source UML & Modeling in Java
Open Source Validation Frameworks
Open Source Web Testing Tools in Java
Open Source Logging Tools in Java
Open Source Web Frameworks in Java
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've been digging through Stack Overflow as well as a number of Google searches, and I cannot find a satisfactory code formatter for JavaScript.
I have found several related tools, such as syntax highlighters and pretty-printers, but I am looking for a tool that I can ideally create a wrapper for in Eclipse and simply run from the menu bar. Hence, if any Java-based ones are available, that is a big plus. Free and/or open-source is preferred as well.
I am looking for something that my development group can use to maintain a consistent code style.
Edit: Thanks to kRON for linking to the format customizations page.
Edit: Related question on Stack Overflow.
This is by far the best I've come across: http://jsbeautifier.org/
Available as an online tool, or on the command-line using node.js or python.
The source code is available.
In one breath: Aptana Studio! Yes, it's Java based and free (Eclipse, as standalone or plugin).
You can also customize the formatting.
If you already use Eclipse, I recommend you to try Aptana, you can install it as an Eclipse Plugin.
For Eclipse IDE you can use JavaScript Code Formatter based on Goolge's Style Guide
For IntelliJ IDEA you can use the same js code formatter xml file , but previously you have to install a special plugin Eclipse Code Formatter Plugin, which solves the problem of maintaining a common code style in team environments where both IDEA and Eclipse are used
If you also need Java programming I can recommend 'IntelliJ IDEA'
It offers excellent JavaScript formatting and refactoring out of the box.
Have you tried jsfiddler. It's great for trying things out with Javascript. Built in JSLint & something called Tidy. Not sure whether that infers jstidy Piotr Zalewa is the guy who wrote it. May be worth giving him a Tweet #zalun to confirm.
If you are using notepad++, you can try jsminnpp plugin
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How can I start writing a plugin for Eclipse?
I've looked for documentation, but unfortunately there is very little or it's poor, so what articles can recommended?
There are some pretty good resources and tutorials on the main Eclipse and IBM's site. One of the best ways is to pick an open source plug-in that has some similar features to what you want to do and start to dissect it.
PDE Does Plug-ins
Plug-in development 101, Part 1: The fundamentals
Eclipse Plugins Exposed, Part 1: A First Glimpse
Developing Eclipse plug-ins
Eclipse has a pretty good "Your First Plug-in" tutorial. If it is confusing, I'm sure they would greatly appreciate your feedback. Keep in mind that Eclipse is essentially Java, so if you don't have a good grasp of Java go for general Java tutorials first, and then come back to Eclipse development.
O'Reilly has two good Eclipse Plugin tutorials:
Eclipse Plugins Exposed
Develop Your Own Plugins for Eclipse
They not only go through the simple code examples, but give you screen shots of the process since a lot of work is done through wizard type interface windows.
If these aren't helpful, perhaps you could be more specific as to what is difficult to follow.
-Adam
The best step-by-step that covers almost every aspect of plugin development is the book "Eclipse: Building Commercial Quality Plugins".
It's available at most book shops and electronically at safari:
http://safari.oreilly.com/9780321574435
I found a great Eclipse plugin tutorial named Extending Eclipse - Plug-in Development Tutorial.
I think a very good resource is also to look at the examples that are available via the new Plug-In Project wizard.
Depending on what you want to provide with your plug-in, you can choose from editor plug-ins, view plug-ins, plug-ins that provide a property page (just to name a few) and see how they're built and what extension points they implement.