Book a Demo

Author Topic: Reverse engineering a sequence diagram from Java c  (Read 2012 times)

ddunwoody

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Reverse engineering a sequence diagram from Java c
« on: January 08, 2007, 08:42:18 am »
Hi,

I'm a new user of Enterprise Architect, and I'm trying to reverse-engineer a sequence diagram for a particular operation.

I've configured by codebase such that I can call the method in which I'm interested from a JUnit test case, and I've added a main() method to the test to allow this.

I've imported the code from my project directories, and set up the "Package build scripts".

However, I cannot get either the "Run" or "Debug Run" options to do anything.

As an example, I've put the following into the Build and Run > Package Build Scripts > Debug dialog box:

Class name to debug: com.sportex.betex.accountweb.payment.actions.CardDepositActionTest

Run time variables:jre=C:\apps\jdk1.5.0_06,-Djava.class.path="extremely long path that includes spaces"

If I decrease the length of java.class.path, the debug run will start, but then I don't have a sufficient classpath...

Is there a maximum limit to the length of the classpath that EA will accept?  As an aside, exactly the same commandline for run (java -classpath "long classpath" f.q.ClassName) works fine from the command line, but not from EA.

Any help much appreciated - I'd really like to rev-eng these diagrams and therefore justify paying for EA!

Thanks in advance,

David