Sun sounding like Microsoft: Commodities, Railroads and How Sun Monetizes Java Service Oriented Architectures – Separating Hype From Reality
Jul 19

IntelliJ Plugin: Read build.xml and work out paths and classpaths

Tech Add comments

I often grab the code of an open source project and dink around (especially if I am finding a bug appearing somewhere).

Most open source projects have a build.xml, with some living in the Maven world (which can generate a build.xml itself).

Wouldn’t it be totally cool if I could point IntelliJ IDEA to the build.xml, and it could work out all of the classpath needs automatically.

This would mean that you could get going RIGHT AWAY, without having to go into the project properties, and setting up all of the libs that you need.

3 Responses to “IntelliJ Plugin: Read build.xml and work out paths and classpaths”

  1. Dion Says:

    On the ant side, what if we did some XPath on the build.xml to pull out all library items, and then convert items such as *.jar to a list of all of the jar files etc?

    Dion

  2. Dion Says:

    Cool approach! And then you could look for other known tasks such as junit, rmic, java, ejbc, iajc … as Dave said.

    That would be sweet :)

  3. toe fungus Says:

    thank

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: Type in the word 'ajax'