mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-21 13:57:56 +00:00
The current script for generating the xjc didn't check if the files already existed. This causes the script to run multiple times during a build, which slows down the build process. This tweak checks the location to see if it exists and skips generating the xjc again.
This commit is contained in:
parent
9d793f50e6
commit
6052d8f8f2
@ -12,4 +12,6 @@ fi
|
||||
|
||||
XSD_FILE=$SRC_DIR/main/resources/swid_schema.xsd
|
||||
|
||||
xjc -p hirs.utils.xjc $XSD_FILE -d $DEST_DIR -quiet
|
||||
if [ ! -d "$DEST_DIR/hirs/utils/xjc" ]; then
|
||||
xjc -p hirs.utils.xjc $XSD_FILE -d $DEST_DIR -quiet
|
||||
fi
|
Loading…
Reference in New Issue
Block a user