SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Threaded View

  1. #1
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,129
    Mentioned
    152 Post(s)
    Tagged
    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

    Code xml:
    <exec command="&quot;C:\PortableApps\GoogleChromePortable\GoogleChromePortable.exe&quot; --pack-extension=&quot;M:\GIT\Playground\my-scripts\chrome\my_extension&quot; --pack-extension-key=&quot;M:\GIT\Playground\my-scripts\chrome\my_extension.pem&quot;" 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).

    Thoughts?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •