vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jftho...@apache.org
Subject svn commit: r1798081 - /vcl/sandbox/useful_scripts/generateDojoProfile.py
Date Thu, 08 Jun 2017 15:36:31 GMT
Author: jfthomps
Date: Thu Jun  8 15:36:31 2017
New Revision: 1798081

URL: http://svn.apache.org/viewvc?rev=1798081&view=rev
Log:
added configuration to cause AL2.0 license header to get added to custom vcldojo files when
compiling custom Dojo

Modified:
    vcl/sandbox/useful_scripts/generateDojoProfile.py

Modified: vcl/sandbox/useful_scripts/generateDojoProfile.py
URL: http://svn.apache.org/viewvc/vcl/sandbox/useful_scripts/generateDojoProfile.py?rev=1798081&r1=1798080&r2=1798081&view=diff
==============================================================================
--- vcl/sandbox/useful_scripts/generateDojoProfile.py (original)
+++ vcl/sandbox/useful_scripts/generateDojoProfile.py Thu Jun  8 15:36:31 2017
@@ -21,7 +21,7 @@ import sys
 try:
 	utilsfh = open('utils.php', 'r')
 except:
-	print "utils.php not found. This script needs to be run from the directory containing utils.php"
+	print("utils.php not found. This script needs to be run from the directory containing utils.php")
 	sys.exit(1)
 
 for line in utilsfh:
@@ -78,7 +78,7 @@ dojofh.write('\tprefixes: [\n')
 dojofh.write('\t\t["dijit", "../dijit"],\n')
 #dojofh.write('\t\t["dojo", "../../dojo"],\n')
 dojofh.write('\t\t["dojox", "../dojox"],\n')
-dojofh.write('\t\t["vcldojo", "../vcldojo"]\n')
+dojofh.write('\t\t["vcldojo", "../vcldojo", "../../release/dojo/vcldojo/al2licenseheader.txt"]\n')
 dojofh.write('\t]\n')
 dojofh.write('};\n')
 dojofh.close()



Mime
View raw message