Forum Discussion
FICO
13 years agoCommunity Manager
Problem during creation of .adb when using custom provider (Blaze 7.1)
Problem during creation of .adb when using custom provider (Blaze 7.1) Hi, I am facing a problem when trying to generate the precompilation file (.adb) for a java deployment. The error obtained is ...
FICO
13 years agoCommunity Manager
So:
- Why is the provider invoked at precompilation time? Why is it needed at precompilation time to read the XML file used by the provider?
- Why wouldn't the XML file be found given that during development time (IDE) the path to the XML file was proven correct?
- how to solve this issue?
Hi
1: Providers are invoked at compile time to translate instantiaton values in template instance files to SRL content values in the generated rule entity (ruleset, function etc.), i.e. to generate code from the selected values.
2: I don't know, relative paths, access rights or something completely different.
3: I would start by identifying what the value of the "dualXmlFilePath" variable is when running the compiler, either by log statements in the provider or by attaching a debugger.