This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

XDC: How to select single codec from different package?



I need to pull all codecs but one from a first package (i.e. dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages) and then pull one codec from another package (i.e. dvsdk_2_10_00_13/dm365_codecs_01_00_03/packages).

XDC doesn't seem to be able to do this.  Since it uses the path name from "packages" on down to identify the codec, I'm not able to select anything finer grained/lower level than the "packages" directory.  Unfortunately this means that all codecs get pulled from the first such directory that XDC finds.

Is there any way to achieve this goal?  It's critical because I need to work around an apparent bug in one of the newer codecs.

 

Thanks!

  • I would create a new directory/repository (call it anything you want, maybe "/myrepo") and copy the _one_ package you want from dm365_codecs_01_00_03/packages into it.  Then take dm365_codecs_01_00_03/packages off your XDCPATH and add the new "/myrepo" to your XDCPATH _before_ dm365_codecs_01_00_06/packages.  Then XDC will find the pkg you want in "/myrepo" before it finds the same pkg in dm365_codecs_01_00_06/packages.

    It may be overkill in this case, but there's a tool name 'repoman' (Repository manager) that understand packages and the files associated with a given package, and may be useful for creating and managing your new "myrepo" repository.  (e.g. if you want to add/remove/update individual packages in the future).  Details are here:

    http://rtsc.eclipse.org/docs-tip/Command_-_xdc.tools.repoman

    If you like GUI's, there's a graphical front end, too:

    http://rtsc.eclipse.org/docs-tip/Command_-_xdc.tools.repoman.sg

    Again, it may be overkill in this case, but repoman becomes necessary sometimes - for example if you just wanted the mycompany.myorg.foo package out of a directory/repository that also included mycompany.myorg.foo.subpkgA... it becomes difficult with standard file system tools to copy only one package's specific files without getting the others.

    Chris