Hi everyone
We’re getting a syntax error reported when trying to build an environment in build place. The deployment works fine from IFS Developer and therefore I believe it’s a dependency issue.
We added a couple of functions to the ShipmentSourceUtility and call them from the ShipmentLinesHandling projection, in a similar way to that used by the core code:
@Override
entity ShipmentLine {attribute Revision_Text Text {
fetch = "Shipment_Source_Utility_API.Get_Line_Rev_Text__(SOURCE_REF1, SOURCE_REF2, SOURCE_REF3, SOURCE_REF4, SOURCE_REF_TYPE_DB)";
label = "Part Revision";
editable = false];
}
}
The ShipmentLines client and ShipmentLinesHandling projection fail to compile and working through the _ifs_ant_generatedb.log it looks like the ShipmentSourceUtility is being compiled after the projection.
The shpmnt deploy.ini doesn’t appear to force the compilation of ShipmentSourceUtility before the projection even though the core projection code also calls functions from the utility.
Am I missing something in the build approach here? The IFS Developer doesn’t seem to support the customisation of the core deploy.ini. Is the correct approach to take a copy of the core deploy,ini, edit the file directly and include in the build place files? That doesn’t seem good when keeping future upgrades in mind.
Any assistance much appreciated!
Thanks,
mmck