Giter Site home page Giter Site logo

Comments (7)

maxnelso avatar maxnelso commented on September 27, 2024

Yes, I have the same issue!

from topcoder-greed.

vexorian avatar vexorian commented on September 27, 2024

What do you mean by PathPattern?

The relevant parts that modify file location are:

greed.codeRoot (Originally equal to contest name, must modify if you don't
want that)
sometemplate.outputFileName
sometemplate.outputFileExtension

On Sat, Apr 19, 2014 at 4:14 PM, maxnelso [email protected] wrote:

Yes, I have the same issue!


Reply to this email directly or view it on GitHubhttps://github.com//issues/148#issuecomment-40879471
.

from topcoder-greed.

maxnelso avatar maxnelso commented on September 27, 2024

Not sure about the OP, but my greed.conf is:

greed.templates.cpp.tmplFile = "template.cpp"

And it isn't making any changes when I reload the config and regenerate the code. For reference my template.cpp file (in the same directory) is:

#include
using namespace std;

class ${ClassName} {
public: ${Method.ReturnType} ${Method.Name}(${Method.Params});
};

${Method.ReturnType} ${ClassName}::${Method.Name}(${Method.Params}) {
return ${Method.ReturnType;ZeroValue};
}

${CutBegin}
${<TestCode}
${CutEnd}

from topcoder-greed.

vexorian avatar vexorian commented on September 27, 2024

Are you sure it is tmplFile and not templateFile?

On Sat, Apr 19, 2014 at 4:24 PM, maxnelso [email protected] wrote:

Not sure about the OP, but my greed.conf is:

greed.templates.cpp.tmplFile = "template.cpp"

And it isn't making any changes when I reload the config and regenerate
the code. For reference my template.cpp file (in the same directory) is:

#include
using namespace std;

class ${ClassName} {
public: ${Method.ReturnType} ${Method.Name}(${Method.Params});
};

${Method.ReturnType} ${ClassName}::${Method.Name}(${Method.Params}) {
return ${Method.ReturnType;ZeroValue};
}

${CutBegin}
${<TestCode}
${CutEnd}


Reply to this email directly or view it on GitHubhttps://github.com//issues/148#issuecomment-40879690
.

from topcoder-greed.

maxnelso avatar maxnelso commented on September 27, 2024

Hmm, I tried both and no luck. On your blog at http://vexorian.blogspot.com/2013/09/customizing-topcoder-greed-plugin.html you use:

greed.templates.cpp.tmplFile = "template.cpp"

But the docs on github make it seem like its templateFile:

"Set the templateFile to your template (relative path to your workspace)"

Regardless, neither seem to be working?

from topcoder-greed.

derekhh avatar derekhh commented on September 27, 2024

Hi maxnelso,

After double checking, I have a feeling that we're probably looking at a
deprecated configuration guide:

https://github.com/shivawu/topcoder-greed/wiki/Everything-is-configurable-(for-1.x)

Pay attention to the last segment of the Url......

On Sat, Apr 19, 2014 at 1:29 PM, maxnelso [email protected] wrote:

Hmm, I tried both and no luck. On your blog at
http://vexorian.blogspot.com/2013/09/customizing-topcoder-greed-plugin.htmlyou use:

greed.templates.cpp.tmplFile = "template.cpp"

But the docs on github make it seem like its templateFile:

"Set the templateFile to your template (relative path to your workspace)"

Regardless, neither seem to be working?


Reply to this email directly or view it on GitHubhttps://github.com//issues/148#issuecomment-40879818
.

Derek Hao Hu

Software Development Engineer
Web Understanding Team, Microsoft Bing
E-mail: [email protected]
Homepage: http://www.cse.ust.hk/~derekhh/

from topcoder-greed.

maxnelso avatar maxnelso commented on September 27, 2024

Ah you are so very right, thanks. I got it working now.

from topcoder-greed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.