<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>126407</bug_id>
          
          <creation_ts>2014-01-02 14:45:14 -0800</creation_ts>
          <short_desc>Set VSINSTALLDIR in win ews start script</short_desc>
          <delta_ts>2014-01-06 12:15:39 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roger Fong">roger_fong</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>lforschler</cc>
    
    <cc>roger_fong</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>963901</commentid>
    <comment_count>0</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2014-01-02 14:45:14 -0800</bug_when>
    <thetext>Set VSINSTALLDIR to where we install VS2013.

Alternatively we can run VCVARSALL.bat in the script but the change seems to be equivalent and that&apos;d mean we&apos;d be running a batch script from a shell script which is being run from a batch script...
maybe that&apos;s not that weird...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963902</commentid>
    <comment_count>1</comment_count>
      <attachid>220256</attachid>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2014-01-02 14:49:03 -0800</bug_when>
    <thetext>Created attachment 220256
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963907</commentid>
    <comment_count>2</comment_count>
      <attachid>220257</attachid>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2014-01-02 14:52:31 -0800</bug_when>
    <thetext>Created attachment 220257
vcvarsall version</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963925</commentid>
    <comment_count>3</comment_count>
      <attachid>220257</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-01-02 15:29:05 -0800</bug_when>
    <thetext>Comment on attachment 220257
vcvarsall version

View in context: https://bugs.webkit.org/attachment.cgi?id=220257&amp;action=review

&gt; Tools/EWSTools/start-queue-win.sh:25
&gt; +        cmd /c &quot;$PROGRAMFILES\Microsoft Visual Studio 12.0\VC\vcvarsall.bat&quot;

This should be &quot;CALL &quot;$PROGRAMFILES....&quot;

We want the queue to run with the contents of the batch file added to the shell environment.  The &apos;cmd&apos; version will spawn a new shell, which will cease to exist once the command finishes running.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963926</commentid>
    <comment_count>4</comment_count>
      <attachid>220256</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-01-02 15:29:43 -0800</bug_when>
    <thetext>Comment on attachment 220256
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=220256&amp;action=review

&gt; Tools/EWSTools/start-queue-win.sh:25
&gt; +        export VSINSTALLDIR=&quot;$PROGRAMFILES\Microsoft Visual Studio 12.0&quot;

I don&apos;t care for this version as much, because it doesn&apos;t set the other environment variables (such as LIBPATH, etc.) which might be useful for building.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963952</commentid>
    <comment_count>5</comment_count>
      <attachid>220265</attachid>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2014-01-02 16:24:41 -0800</bug_when>
    <thetext>Created attachment 220265
vcvarsall version fixed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963953</commentid>
    <comment_count>6</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2014-01-02 16:26:31 -0800</bug_when>
    <thetext>uh hold up, call command not found</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963959</commentid>
    <comment_count>7</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-01-02 16:34:20 -0800</bug_when>
    <thetext>Duh!  Sorry -- I was thinking in DOS BATCH, not BASH.

We want to introduce these variables to the Cygwin environment, so maybe we do need to go with your original version that just adds the environment variable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964179</commentid>
    <comment_count>8</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2014-01-03 10:58:59 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; Duh!  Sorry -- I was thinking in DOS BATCH, not BASH.
&gt; 
&gt; We want to introduce these variables to the Cygwin environment, so maybe we do need to go with your original version that just adds the environment variable.

Hmm, after some amount of research I don&apos;t think cygwin has anything that can save the environment settings set by a batch script.
I could always convert the batch script to a bash script, check it in, and we can modify it as need be instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964278</commentid>
    <comment_count>9</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2014-01-03 14:49:42 -0800</bug_when>
    <thetext>What do you think Brent? Think we should just go with setting VSINSTALLDIR ourselves?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964678</commentid>
    <comment_count>10</comment_count>
      <attachid>220256</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-01-06 11:08:12 -0800</bug_when>
    <thetext>Comment on attachment 220256
patch

Watch out for LIBPATH or INCLUDE_PATH problems in scripts since we aren&apos;t setting these, but this seems to work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964680</commentid>
    <comment_count>11</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2014-01-06 11:14:44 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; (From update of attachment 220256 [details])
&gt; Watch out for LIBPATH or INCLUDE_PATH problems in scripts since we aren&apos;t setting these, but this seems to work.

Ok, I&apos;ll keep an eye out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964711</commentid>
    <comment_count>12</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2014-01-06 12:15:39 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/161355
Keeping open until EWS bots are actually reporting working builds</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>220256</attachid>
            <date>2014-01-02 14:49:03 -0800</date>
            <delta_ts>2014-01-06 11:08:11 -0800</delta_ts>
            <desc>patch</desc>
            <filename>ewspatch.patch</filename>
            <type>text/plain</type>
            <size>1080</size>
            <attacher name="Roger Fong">roger_fong</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDE2MTIyOCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEyIEBACisyMDE0LTAxLTAyICBSb2dlciBGb25nICA8cm9nZXJfZm9uZ0BhcHBsZS5jb20+
CisKKyAgICAgICAgU2V0IFZTSU5TVEFMTERJUiBpbiB3aW4gZXdzIHN0YXJ0IHNjcmlwdC4KKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEyNjQwNworCisg
ICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogRVdTVG9vbHMv
c3RhcnQtcXVldWUtd2luLnNoOgorCiAyMDE0LTAxLTAyICBBbGV4ZXkgUHJvc2t1cnlha292ICA8
YXBAYXBwbGUuY29tPgogCiAgICAgICAgIEFjY2Vzc2luZyBUcmFjIGZyb20gYnVpbGQud2Via2l0
Lm9yZy9kYXNoYm9hcmQgc2hvdWxkIGVuYWJsZSBYTUxIdHRwUmVxdWVzdC53aXRoQ3JlZGVudGlh
bHMKSW5kZXg6IFRvb2xzL0VXU1Rvb2xzL3N0YXJ0LXF1ZXVlLXdpbi5zaAo9PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0t
LSBUb29scy9FV1NUb29scy9zdGFydC1xdWV1ZS13aW4uc2gJKHJldmlzaW9uIDE2MTE0OCkKKysr
IFRvb2xzL0VXU1Rvb2xzL3N0YXJ0LXF1ZXVlLXdpbi5zaAkod29ya2luZyBjb3B5KQpAQCAtMjIs
NiArMjIsNyBAQAogICAgICAgICBmaW5kIH4vd2luLWV3cy1sb2dzIC1tdGltZSArNyAtZXhlYyBy
bSAtZiB7fSBcOwogICAgICAgICBlY2hvICJUQVNLOiBTdGFydGluZyB1cCIKICAgICAgICAgY2Qg
fi9XZWJLaXQKKyAgICAgICAgZXhwb3J0IFZTSU5TVEFMTERJUj0iJFBST0dSQU1GSUxFU1xNaWNy
b3NvZnQgVmlzdWFsIFN0dWRpbyAxMi4wIgogICAgICAgICBlY2hvICJUQVNLOiBDbGVhbmluZyBX
ZWJLaXRCdWlsZCIKICAgICAgICAgcm0gLXJmIFdlYktpdEJ1aWxkCiAgICAgICAgIGRhdGUK
</data>
<flag name="review"
          id="243943"
          type_id="1"
          status="+"
          setter="bfulgham"
    />
          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>220257</attachid>
            <date>2014-01-02 14:52:31 -0800</date>
            <delta_ts>2014-01-02 16:24:41 -0800</delta_ts>
            <desc>vcvarsall version</desc>
            <filename>ewspatch.patch</filename>
            <type>text/plain</type>
            <size>1086</size>
            <attacher name="Roger Fong">roger_fong</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0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Z3MgLW10aW1lICs3IC1leGVj
IHJtIC1mIHt9IFw7CiAgICAgICAgIGVjaG8gIlRBU0s6IFN0YXJ0aW5nIHVwIgogICAgICAgICBj
ZCB+L1dlYktpdAorICAgICAgICBjbWQgL2MgIiRQUk9HUkFNRklMRVNcTWljcm9zb2Z0IFZpc3Vh
bCBTdHVkaW8gMTIuMFxWQ1x2Y3ZhcnNhbGwuYmF0IgogICAgICAgICBlY2hvICJUQVNLOiBDbGVh
bmluZyBXZWJLaXRCdWlsZCIKICAgICAgICAgcm0gLXJmIFdlYktpdEJ1aWxkCiAgICAgICAgIGRh
dGUK
</data>
<flag name="review"
          id="243945"
          type_id="1"
          status="-"
          setter="bfulgham"
    />
          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>220265</attachid>
            <date>2014-01-02 16:24:41 -0800</date>
            <delta_ts>2014-01-02 16:33:02 -0800</delta_ts>
            <desc>vcvarsall version fixed</desc>
            <filename>ewspatch.patch</filename>
            <type>text/plain</type>
            <size>1084</size>
            <attacher name="Roger Fong">roger_fong</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDE2MTIyOCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEyIEBACisyMDE0LTAxLTAyICBSb2dlciBGb25nICA8cm9nZXJfZm9uZ0BhcHBsZS5jb20+
CisKKyAgICAgICAgQ2FsbCB2Y3ZhcnNhbGwuYmF0IGluIHdpbiBld3Mgc3RhcnQgc2NyaXB0Lgor
ICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTI2NDA3CisK
KyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiBFV1NUb29s
cy9zdGFydC1xdWV1ZS13aW4uc2g6CisKIDIwMTQtMDEtMDIgIEFsZXhleSBQcm9za3VyeWFrb3Yg
IDxhcEBhcHBsZS5jb20+CiAKICAgICAgICAgQWNjZXNzaW5nIFRyYWMgZnJvbSBidWlsZC53ZWJr
aXQub3JnL2Rhc2hib2FyZCBzaG91bGQgZW5hYmxlIFhNTEh0dHBSZXF1ZXN0LndpdGhDcmVkZW50
aWFscwpJbmRleDogVG9vbHMvRVdTVG9vbHMvc3RhcnQtcXVldWUtd2luLnNoCj09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K
LS0tIFRvb2xzL0VXU1Rvb2xzL3N0YXJ0LXF1ZXVlLXdpbi5zaAkocmV2aXNpb24gMTYxMTQ4KQor
KysgVG9vbHMvRVdTVG9vbHMvc3RhcnQtcXVldWUtd2luLnNoCSh3b3JraW5nIGNvcHkpCkBAIC0y
Miw2ICsyMiw3IEBACiAgICAgICAgIGZpbmQgfi93aW4tZXdzLWxvZ3MgLW10aW1lICs3IC1leGVj
IHJtIC1mIHt9IFw7CiAgICAgICAgIGVjaG8gIlRBU0s6IFN0YXJ0aW5nIHVwIgogICAgICAgICBj
ZCB+L1dlYktpdAorICAgICAgICBDQUxMICIkUFJPR1JBTUZJTEVTXE1pY3Jvc29mdCBWaXN1YWwg
U3R1ZGlvIDEyLjBcVkNcdmN2YXJzYWxsLmJhdCIKICAgICAgICAgZWNobyAiVEFTSzogQ2xlYW5p
bmcgV2ViS2l0QnVpbGQiCiAgICAgICAgIHJtIC1yZiBXZWJLaXRCdWlsZAogICAgICAgICBkYXRl
Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>