Hi,I am trying to deploy few files using workflow which also includes ".js" files. But except .js files all other files are getting deployed to the server. While creating filelist also all the files except .js files are getting added in the list. Is their any specific reason for this? Thanks,JanviTeamsite 6.1
Are you sure you haven't written any logic in your code to exclude .js files or have put filters in your OD config file? OD doesn't automatically skips js files. Even I have successfully deployed js files in the past using OD only.
Using OD its working fine but only while creating the filelist using workflow its giving problem.Thanks,Janvi
Can you post your code??
I have attached a .ipl file which is called while creating the filelist.Thanks,Janvi
@temF = grep /(.*).\w\w\w$/, @temF;
I think the problem might lie in following line of code: @temF = grep /(.*).\w\w\w$/, @temF; I don't have PERL with me right now. So couldn't verify it. But it seems the regex mentioned here will only match the string having 3 letters after the ".". Means, any file with extension .gif or .jpg or .htm will be part of your filelist. But any file with extension .js will be ignored.I might be wrong as I haven't verified this. You just try by commenting this line (which is present in more than one location in your code)
@temF = grep /(.*)[.]\w{2,3}$/, @temF;