<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:26 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-1229] Add prebuild script to mongo.vcxproj to create mongo.cpp and mongo-server.cpp</title>
                <link>https://jira.mongodb.org/browse/SERVER-1229</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;If you build mongo.vcxproj it will fail because it cannot find mongo.cpp and mongo-server.cpp.&lt;/p&gt;

&lt;p&gt;I don&apos;t know python but I put what I believe to be the sconstruct snippet that makes these files at the end of this post. To not introduce python as a dependency on building mngo with visual studio I think a javascript or vbscript should be written and executed with cscript.exe to duplicate this functionality. That script can be called as part of a prebuild action.&lt;/p&gt;

&lt;p&gt;Justin&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;&amp;#8212; jsh &amp;#8212;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;def jsToH(target, source, env):&lt;/p&gt;

&lt;p&gt;    outFile = str( target&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; )&lt;br/&gt;
    if len( source ) != 1:&lt;br/&gt;
        raise Exception( &quot;wrong&quot; )&lt;/p&gt;

&lt;p&gt;    h = &quot;const char * jsconcatcode&quot; + outFile.split( &quot;mongo&quot; )&lt;span class=&quot;error&quot;&gt;&amp;#91;-1&amp;#93;&lt;/span&gt;.replace( &quot;-&quot; , &quot;_&quot;).split( &quot;.cpp&quot;)&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; + &quot; = \n&quot;&lt;/p&gt;

&lt;p&gt;    for l in open( str(source&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;) , &apos;r&apos; ):&lt;br/&gt;
        l = l.strip()&lt;br/&gt;
        l = l.split( &quot;//&quot; )&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        l = l.replace( &apos;&lt;br class=&quot;atl-forced-newline&quot; /&gt;&apos; , &quot;\\\\&quot; )&lt;br/&gt;
        l = l.replace( &apos;&quot;&apos; , &quot;\\\&quot;&quot; )&lt;/p&gt;


&lt;p&gt;        h += &apos;&quot;&apos; + l + &quot;\\n\&quot;\n &quot;&lt;/p&gt;

&lt;p&gt;    h += &quot;;\n\n&quot;&lt;/p&gt;

&lt;p&gt;    out = open( outFile , &apos;w&apos; )&lt;br/&gt;
    out.write( h )&lt;/p&gt;

&lt;p&gt;    return None&lt;/p&gt;

&lt;p&gt;jshBuilder = Builder(action = jsToH,&lt;br/&gt;
                    suffix = &apos;.cpp&apos;,&lt;br/&gt;
                    src_suffix = &apos;.jsall&apos;)&lt;/p&gt;

&lt;p&gt;env.Append( BUILDERS=&lt;/p&gt;
{&apos;JSHeader&apos; : jshBuilder}
&lt;p&gt;)&lt;/p&gt;

</description>
                <environment>Visual Studio 2010</environment>
        <key id="12139">SERVER-1229</key>
            <summary>Add prebuild script to mongo.vcxproj to create mongo.cpp and mongo-server.cpp</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="backlog-server-build">Backlog - Build Team</assignee>
                                    <reporter username="zippy1981">Justin Dearing</reporter>
                        <labels>
                    </labels>
                <created>Sun, 13 Jun 2010 21:41:43 +0000</created>
                <updated>Tue, 6 Dec 2022 05:49:15 +0000</updated>
                            <resolved>Fri, 21 Oct 2016 20:48:53 +0000</resolved>
                                    <version>1.5.2</version>
                                                    <component>Build</component>
                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1414852" author="mark.benvenuto" created="Fri, 21 Oct 2016 20:48:53 +0000"  >&lt;p&gt;Building with Visual Studio is not supported.&lt;/p&gt;</comment>
                            <comment id="14708" author="eliot" created="Sun, 13 Jun 2010 22:34:19 +0000"  >&lt;p&gt;prebuilding eventually - not likely soon - unless someone volunteers&lt;/p&gt;

&lt;p&gt;we update mongo_vstudio occasionally.&lt;/p&gt;</comment>
                            <comment id="14707" author="zippy1981" created="Sun, 13 Jun 2010 22:31:29 +0000"  >&lt;p&gt;Eliot,&lt;/p&gt;

&lt;p&gt;Are you assigning it to Dwight to replace the CPP files included in the vcxproj or to write the prebuild script?&lt;/p&gt;

&lt;p&gt;Obviously fixing the dependency is a quick win and should be done short term. Long term I think the prebuild is the way to go. &lt;/p&gt;

&lt;p&gt;Duplicatting jsToH()&apos;s functionality makes more sense than duplicating the code it generates. The code it generates will be more likely to change.&lt;/p&gt;</comment>
                            <comment id="14706" author="eliot" created="Sun, 13 Jun 2010 22:09:48 +0000"  >&lt;p&gt;It should be using shell/mongo_vstudio.cpp&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25138"><![CDATA[Build]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 13 Jun 2010 22:09:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 16 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 16 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-build</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>zippy1981</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrplfb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hseahz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6252</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0ptj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>