0 Replies Latest reply on Mar 2, 2008 7:49 AM by frauen1

    Jazz and Flex Builder 3

    frauen1
      (I've also posted this in the forums over at jazz.net)

      I'm trying to get Flex Builder 3 to work with Rational TeamCentral (the beta client for the Rational Jazz system). Jazz is an IBM Rational project to build a scalable, extensible team collaboration platform for integrating work across the phases of the development lifecycle. Alas, I'm running into some problems under Windows. I'm doing all this with TeamCentral Beta2a, BTW.

      My first approach was to unzip the Beta2a client on my Windows laptop and install the Flex Builder 3 plugins. In this configuration I was able to get Jazz to work, but whenever I try to build anything using Flex I get what looks like a Xerces versioning problem. Here's a part of the exception I get whenever Flex tries to build anything in this configuration:

      ENTRY com.adobe.flexbuilder.project 4 43 2008-03-02 09:31:11.062
      !MESSAGE Uncaught exception in compiler
      !STACK 0
      java.lang.IllegalAccessError: org.apache.xerces.util.XMLAttributesImpl$Attribute
      at java.lang.ClassLoader.defineClassImpl(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:228)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:557)
      at java.net.URLClassLoader.access$400(URLClassLoader.java:120)
      at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:962)
      at java.security.AccessController.doPrivileged(AccessController.java:275)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:488)
      at com.adobe.flexbuilder.project.sdks.FlexClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:607)
      at com.adobe.flexbuilder.project.sdks.FlexClassLoader.loadClass(Unknown Source)

      My next attempt was to use my Macbook and install the TeamCentral client with the Flex Builder 3 plugins (same configuration that I had just tried on Windows). This worked perfectly - both Jazz and Flex were very happy, and I could be productive here. Unfortunately, most of my team members are Windows developers, so this is not a viable solution for them.

      Now back to Windows. I installed the Flex Builder 3 standalone eclipse instance and noticed that it uses Sun JDK 1.5, so I wondered if the JDK was the culprit. I replaced the JDK to use the IBM 1.5 JDK (same as TeamCentral Beta2a). The standalone Flex Builder 3 worked.

      My next experiment was to use the Sun 1.5 JDK on TeamCentral with the Flex Builder plugins. The performance seemed very sluggish, but Flex seemed happy. Jazz was a different matter. I could connect to a repository and connect to a project area, but I couldn't do anything after that. I couldn't see any workspaces that I had, nor could I look at streams, work items, etc.

      I'm out of things to try at this point. My ideal solution would be to figure out how to resolve the Xerces incompatibility, but I'm open to any other ideas that people might have. We've discussed the idea of having separate Jazz and Flex instances running to get the Jazz features, but running both Eclipse instances is quite expensive resource-wise, so an integrated solution is the best.

      Thanks in advance!

      --
      Tom Frauenhofer, tvf@us.ibm.com
      Senior Software Engineer, IBM Research