Menu

#16 Exporting a defined list of packages

open
5
2011-11-18
2011-11-17
nchorher
No

Hi!
EA-Exporter supports a '*' notation to export all packages "Model/Packages/Logical View/*". Is it possible to export 2 packages of a total of 4 e.g.
"Model/Packages/Logical View/pkgA Model/Packages/Logical View/pkgB". I tried something like
<PackageName value="Model/Packages/Logical View/pkgA Model/Packages/Logical View/pkgB"/>
which threw an Exception in the workflow

Best regards

Discussion

  • Ueli Brawand

    Ueli Brawand - 2011-11-18

    Hi
    You can create a class that implements PackageFilterContributor.
    In method skipPackage(String) you can skipp all the packages you won't export.

    In the workflow you can add your package filter with
    <PackageFilterContributor value="yourPackageFilterClass" />

    Your package filter can be initialized by an xml file.

    If you need an other solution, let me know.
    Hope this helps.

    Regards, Ueli

     
  • Ueli Brawand

    Ueli Brawand - 2011-11-18
    • assigned_to: nobody --> ubrawand
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.