This post originated from an RSS feed registered with Java Buzz
by Marc Logemann.
Original Post: Websphere 5.1, Ant and IntelliJ
Feed Title: Marc's Java Blog
Feed URL: http://www.logemann.org/day/index_java.xml
Feed Description: Java related topics for all major areas. So you will see J2ME, J2SE and J2EE issues here.
IBM really wants to sell their commercial IDEs. They give me 20 hard minutes to get the Websphere 5.1 Ant tasks running under IntelliJ IDEA. I thought that it should be enough to include wsanttasks.jar in the ANT classpath and just call the tasks, but these tasks required some strange IBM classes which looked quite fundamental to me. So after trying a few other things, i used the ANT feature "Run under custom JDK" of IDEA and selected the 1.4.1 JDK from IBM shipped with Websphere. Voila, i can run the tasks and everything is fine.
I know i should be happy to have a 1.4.x JDK when working with websphere, because it was just recently announced and shipped, but it would be so much better if there were no dependencies on IBM JDKs at all.