Comments (7)
Yes, I have the same issue!
from topcoder-greed.
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.
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.
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.
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.
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.
Ah you are so very right, thanks. I got it working now.
from topcoder-greed.
Related Issues (20)
- Not recognizing config file HOT 1
- Config error: Config object needed, ConfigString found HOT 3
- The return value of long[] is attached with "L" in testcase.sample HOT 3
- Question: Is it possible to detect "practice room"? HOT 5
- Allow camelCase properties in templates
- Ecosystems for community-created contents (templates) HOT 5
- Code generation fails on SRM 627 Div 2 500 point problem HOT 3
- Is it possible to get a hook when the contest starts or to get contest time when generating code?
- Is it possible to get a raw string of the problem description? HOT 3
- Is there a support to generate the tests by supplying the problem statement offline?
- Grid containing whitespaces are not displayed in HTML properly HOT 1
- Submission from terminal without going to arena HOT 1
- Tests are not working in Xcode 6.1 (Passed : 0/0 cases) HOT 1
- About Release and Roadmap plans HOT 1
- OverWrite existing workspace
- SRM 676 div2 Farmville the test code does not work
- Filtering source code before submit
- Is the default language configurable?
- "data" causes compile error in C++17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from topcoder-greed.