Local paths for files for multiple operating systems
If you have files that are operating-system-specific, put
them in a directory structure that is the same except for one directory,
which is named for the operating system. When you add the file to
your BladePack project, replace the directory named for the operating
system with %OS%
.
For example, if you compile your C or C++ DataBlade® module
on Sun Solaris and Windows™,
you have two project.bld files, one in each of
these directories:
- project/src/c/Solaris-sparc
- project\src\c\WinNT-i386
Add the project\src\c\WinNT-i386\project.bld file
to the Files to Install folder and then replace WinNT-i386 with %OS%
.
When you build the BladePack project for Sun Solaris and Windows, BladePack adds the appropriate project.bld file
to each project.
For a Java™ DataBlade module, you have only one version of the project.jar file, which is in the project/src/java directory.