Hi -
I've had a running WIX3 project going (thanks WIX developers for making it
simple!), and I've recently added a Java client library (jar file) to my
project. Well, as you may or may not know, jar files usually have version
information embedded in the file name. Up to this point, I've not had to deal
with dynamically changing file names. With the addition of this jar file, I now
have a new situation - a file name that may change between versions of my
project. Is there some way I can automate the process of picking the correct
file name from the directory as one of my installable file resources?
In this case, my jar file is called openxdas-0.3.138.jar. This basically
follows the pattern: <name>-<major>.<minor>.<revision>.jar. The <name>, <major>
and <minor> fields are statically defined in my project, so I could change
those if I needed to, but I'd rather not. The <revision> field is the real
killer - I use the SVN revision of my project for my build number, and it can
be really problematic to check in a change containing a revision number, and
have the revision number line up with the actual SVN revision for a given
release.
Can I create a "File" entry that allows a wild-carded filename, something like
this:
<Directory Id="Java" Name="Java">
<Component Id="openxdas_jarfile" Guid="EA21E573-6390-449D-B161-D21B3732857F">
<File Id="openxdas.jar" Name="openxdas.jar" KeyPath="yes"
Source="OpenXDAS\Java\openxdas-*.jar" />
</Component>
</Directory>
If not, is there a way to provide a macro that I can pass in - I have the
information in the calling environment for these version components - if I
could pass them in on the candle command line, and pick them up from within the
script, that would work also.
Thanks in advance!
John
-----
John Calcote ([EMAIL PROTECTED])
Sr. Software Engineeer
Novell, Inc.
BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:John Calcote
TEL;WORK:1-801-861-7517
ORG:;Unified Identity System Eng TE
TEL;PREF;FAX:801/861-2292
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Calcote;John;;Sr. Software Engineer
TITLE:Sr. Software Engineer
ADR;DOM;WORK;PARCEL;POSTAL:;PRV-H-511;;Provo
LABEL;DOM;WORK;PARCEL;POSTAL;ENCODING=QUOTED-PRINTABLE:John Calcote=0A=
PRV-H-511=0A=
Provo
END:VCARD
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users