SSB <environment>.ignorefiles.properties is... eh. ignored

Which IIQ version are you inquiring about?

Version 8.3

Share all details related to your problem, including any error messages you may have received.

I have setup an SSB project on a Linux host and copied the sandbox..properties files to linux..properties and set the SPTARGET=linux

But when i run: build/ant import-custom dist the linux.ignorefiles.properties is ignored. it was supposed to to skip the artifacts in Configuration/Prod/*
but it imports all artifacts no matter what i specify in the ignorefiles.properties.

could you please paste your ignorefiles.properties file?

I Contains:
/Configuration/Prod/*
/TaskSchedule/*

I have also tried:
Configuration/Prod/*
TaskSchedule/*

and

Configuration/Prod/**
TaskSchedule/**

The content of the provided ignorefiles sample form the SSB explains it all (and much better than I could :stuck_out_tongue_winking_eye: )

# A file that contains which XML files should be removed/redacted from the 
# automated imports and file copies for a specific environment.  For example:
#  sandbox.ignorefiles.properties - lists files not imported into SANDBOX 
#  uat.ignorefiles.properties     - lists files not imported into UAT
#  prod.ignorefiles.properties    - lists files not imported into PRODuction
#
# The file format:
#  The # signs are comments, like unix shell script fashion.
#  Files to ignore should be named in path relative to the .../config/ 
#  directory of the services standard build (for import restriction only).  
#  One file name should be specified per line of this file.  
#  Unix slashes (/) should be used as separators on both Windows and unix environments.
#
# Technically, each non-comment line in this file is treated as a pattern
# for fileSet exclusion in Ant. This is utilized by the fileset type which,
# in turn, consumes this file with excludesfile.
#
# Examples like this exclude from import operations:
#  custom/Application/Application-AD-Partner.xml
#  custom/Workflow/Workflow-QuickTermination.xml
#
# Examples like this exclude from import AND copy operations (note they 
# are just more aggressive search patterns):
#  Application/Application-AD-Partner.xml
#  Workflow/Workflow-QuickTermination.xml
#
# All non-filename lines in this file should start with a # character (comment).

The ignorefiles is only used with the following 2 ant targets:

  • prepareFiles
  • build-inits

The command build/ant import-custom dist starts 2 targets import-custom and dist, where neither used (direct and indirect) the ignorefiles.

The best way is to first ‘build’ the import files.

Can you try:
build/ant build-inits import-custom dist

– Remold

Hmm, that’s strange because it works fine on a windows host just by running import-custom and dist.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.