Other links
Radia - General Discussions
Batch Publisher - 255 character path limit?
Can anyone confirm or deny that there is/was a 255 path limit in the Batch Publisher? I think I remember this from long ago. It used to be a Windows problem. Now Windows addressed it, however, I think utilities still needed to be updated to work with the newer APIs. We are probably using an older version of it, so maybe it was addressed in a new release. We can likely work around it, or call it into support. Just looking to see if anyone else knows the answer off the top of their head.
Details from the error I am pretty sure because the path is over 255 for this file.
20160121 09:06:12 Error: Target <Q:/_AUTOPUBLISH/MDT_W8X64_ENT_WIN/V6.3.0.0/deployprod/Deploy/Operating Systems/Windows 8.1 Ent (x64) 2014.11.21/sources/sxs/amd64_netfx-system.directoryservices.protocols_b03f5f7f11d50a3a_6.3.9600.16384_none_3cdb1f0252010eb1/system.directoryservices.protocols.dll> does not exist
20160121 09:06:12 Error: could not read "Q:/_AUTOPUBLISH/MDT_W8X64_ENT_WIN/V6.3.0.0/deployprod/Deploy/Operating Systems/Windows 8.1 Ent (x64) 2014.11.21/sources/sxs/amd64_netfx-system.directoryservices.protocols_b03f5f7f11d50a3a_6.3.9600.16384_none_3cdb1f0252010eb1/system.directoryservices.protocols.dll": no such file or directory
Previous 3 comments
Here is a copy for the config file. We did end up just changing the DISROOT/DIR to shorten the path to the files. The version from the log is "Info: Build: 7.5 - 20120224 06:54:59 UST". I did not go look for a newer version since we have not had issues until this.
$Header: /cvs/nvd/tools/promote/bin/bprmt.cfg,v 1.13 2001/03/30 13:51:56 greggt Exp $
#
# Radia Automated Publishing Interface
#
# Radia CFG file for Component Select (last revised: 4:54 PM 1:11 PM 12/19/2012)
# -Used for packages that install files directly to a "target" directory instead of
# having it's files copied to c:\esd\dist.
#
#
#
# CCRC structure should be:
# .\pkg
# \deploy
# \<<TGTDIR>>
#
#
# Example: For LDAPGather
# TGTDIR=c:\esd\utils\ldapgather
#
# .\pkg
# \deploy
# \c
# \esd\utils\ldapgather
#
# package - package instance name or prefix (i.e. foo or foo_*)
# pkgname - to be used as friendly name of package (NAME)
# pkgdesc - to be used as description of package (DESCRIPT)
# service - zservice instance name
# svcname - to be used as friendly name of the service (ZSVCNAME)
# svcdesc - to be used as a description of the service (NAME)
# addtosvc - connect package to service
# compress - 1 to request compression
# intype - source type for list of resources (FILE/SCAN)
# insource - file path for input if type is FILE
# mgrdiff - 1 to activate comparison with existing resources for service - not implemented
#
#
package "MDT_W8X64_ENT_WIN_6_3_0_0"
pkgname "MDT_W8X64_ENT_WIN_6_3_0_0"
pkgdesc "MDT_W8X64_ENT_WIN_6_3_0_0"
service "MDT_W8X64_ENT_WIN_6_3_0_0"
svcname "MDT_W8X64_ENT_WIN_6_3_0_0"
svcdesc "MDT_W8X64_ENT_WIN_6_3_0_0"
addtosvc 1
compress 1
intype SCAN
insource ""
mgrdiff 0
loglvl 3
logfile Q:\MDT_W8X64_ENT_WIN_6_3_0_0.log
host radia://hpcapubcoret0.delta.com:3464
path PRIMARY.SOFTWARE
#
# File Scanner Control Info
# depth - number of subdirs to traverse (-1 = all)
# numsplit - number of subdirs (includes drive in win) to use in root
# distroot - distribution root to be used to create path instance
# if left blank, root of dir is used
#
# For "c:\esd\utils", change
# "dir" to "Q:\_AUTOPUBLISH\MDT_W8X64_ENT_WIN\V6.3.0.0\c" and build the directory structure under the "deploy" folder in CCRC.
# Default: c:\esd\dist\MDT_W8X64_ENT_WIN_6_3_0_0\6.3.0.0
filescan {
dir {Q:\_AUTOPUBLISH\MDT_W8X64_ENT_WIN\V6.3.0.0}
distroot {D:}
numsplit 4
depth -1
}
#
# Priority of the component classes as receiving bucket is based on
# filter order
# Specialized (like desktop) should be put before file class filters
#
# Abstract Filters (multi-type)
# class - database class used for files that satisfy this filter
# expression - expression strings for ZSTOPs in package instance
#
# filters lnk {
# type desktop
# class desktop
# exclude ""
# include "*.lnk"
# distroot {}
# }
# filters reg {
# type registry
# class registry
# exclude ""
# include "*.reg *.edr"
# distroot {}
# }
filters LargeFiles {
type file
class file
exclude ""
include "*.wim *.cab *.swm"
distroot {}
# Set checkpoint restart for large files (>50MB)
attr {
ZRSCRSTR {Y}
}
}
filters all {
type file
class file
exclude "ads.def Tivoli.def Tivoli.opt radia.cfg hpca.cfg core.hpca classic.hpca"
include "*"
distroot {}
}
expression {
}
attr PACKAGE {
RELEASE {6.3.0.0}
}
attr ZSERVICE {
ZSVCTTYP {S}
ZCREATE {}
BDELETE {}
ZVERIFY {}
ZREPAIR {}
VERSION {6.3.0.0}
ZUPDATE {_NONE_}
ZSVCPRI {10}
ZSVCMO {M}
REBOOT {}
}
Participate
Ask, Discuss, Answer