Book a Demo

Author Topic: Use of TransformPackage method  (Read 2886 times)

Martin Haigh

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Use of TransformPackage method
« on: August 05, 2010, 06:36:10 pm »
I am trying to invoke EA transformations via the Automation interface (using Java). Whilst the transformation works I need to select the "Include Child Packages" option. Is it possible to do this via the automation interface. I assume the ExtraOptions parameter is intended for this but the documentation says it is 'unused' Is there any other way or do I have to navigate the subfolder tree and transform each package one at a time. Yuk!!
« Last Edit: August 05, 2010, 06:37:47 pm by mghaigh »

jeanfrancois

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: Use of TransformPackage method
« Reply #1 on: August 06, 2010, 11:17:24 pm »
I haven't used Transform specifically, but maybe it's similar to Importing of Code (Code Engineering -> Import Source Directory) where you can use the registry options in:
HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\AddIns\OPTIONS

For example, in import directory you can set IMPORT_TREE_CREATE_RECURSIVE to 1 to make the process include child folders.

Maybe something similar is available for transforming?