Results 1 to 5 of 5
Thread: Phing - Replaceable Parameters?
Jul 9, 2013, 10:51 #1
- Join Date
- Jun 2002
- 133 Post(s)
- 0 Thread(s)
Phing - Replaceable Parameters?
I'm new to phing, so I may be missing something obvious here, but I have the following that packages a chrome extension
<exec command=""C:\PortableApps\GoogleChromePortable\GoogleChromePortable.exe" --pack-extension="M:\GIT\Playground\my-scripts\chrome\my_extension" --pack-extension-key="M:\GIT\Playground\my-scripts\chrome\my_extension.pem"" dir="." logoutput="true" />
I'm curious if I can replace the paths that are hard coded with some kind of parameter... Something like %chrome%. The hard coded paths are ugly and won't cross workstations very well (if I were to ever add another team member).
Two things to note:
1) The --pack-extension and --pack-extension-key MUST be Full Paths (I tried relative, it fails to generate the crx files)
2) It must create the crx within the my-scripts\chrome folder (which it does now).
Last edited by ScallioXTX; Jul 9, 2013 at 12:28.