View Issue Details

IDProjectCategoryView StatusLast Update
0005802JEDI VCL02 Installationpublic2013-12-13 11:32
Reportera-s-zAssigned Toobones 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionsuspended 
Product Version3.45 
Target VersionFixed in Version 
Summary0005802: Allow usage of variables in name attribute of package definitions (xml)
DescriptionHi,

the jvcl packages are defined in the folder "packages\xml", to support all targets and minimize the administration.

Unfortunatly, you have to add many "conditional" packages when using third party components, i.e. you have to add the proper package definition for *every* target (cxEditorsD10 for d10, cxEditorsD11 for d11 and so on).
Is it possible to extend the package naming in a way using some variables like %{TARGET} for target, %{VER} for version?

Using this feature it would be possible to write a definition like:
  <Package Name="ODAC%{VER}" Targets="d" Condition="USE_3RDPARTY_CORELAB_ODAC"/>
or
  <Package Name="cxData%{TARGET}" Targets="allv9up" Condition="USE_3RDPARTY_DEVEXPRESS_CXVERTICALGRID || USE_3RDPARTY_DEVEXPRESS_CXGRID || USE_3RDPARTY_DEVEXPRESS_CXPIVOTGRID || USE_3RDPARTY_DEVEXPRESS_CXTREELIST"/>

instead of adding a line for every target (d10, d11, ..., d16, d16_x64).
In addition, there would be no manual change needed, wenn XE3 comes out (If naming scheme stays the same.)

Regards,
  Andre
TagsNo tags attached.

Activities

obones

2012-02-22 15:18

administrator   ~0019473

If you manage to do so, please provide a fix

obones

2012-06-13 16:29

administrator   ~0019979

Any news?

Arioch

2012-06-14 13:16

developer   ~0019991

something relatively distant was in discussion about XE2 wth its Win32/Win64 duality

There was some change to lessen code duplication between packages for x86 and x64 (before templates were just copy-pasted)

But i can't recall even was it in JCL or JVCL and when discussion took place.

But maybe some of it is done, maybe not

Issue History

Date Modified Username Field Change
2012-02-17 08:54 a-s-z New Issue
2012-02-22 15:18 obones Note Added: 0019473
2012-02-22 15:18 obones Status new => feedback
2012-06-13 16:29 obones Note Added: 0019979
2012-06-14 13:16 Arioch Note Added: 0019991
2013-12-13 11:32 obones Status feedback => resolved
2013-12-13 11:32 obones Resolution open => suspended
2013-12-13 11:32 obones Assigned To => obones