Project Generator help
by Andy Schatz · in Torque 3D Professional · 07/15/2009 (10:55 am) · 13 replies
I'm not sure how I'm supposed to be using the project generator, specifically, how am I supposed to add files specific to my project so that the generator includes them when rebuilding the project. Is there a tutorial around on the subject?
#2
07/15/2009 (1:13 pm)
Thanks James, is there an error log for when the generator fails? Mine is failing and I'm not sure where to start with debugging it.
#3
07/15/2009 (1:14 pm)
NM, I realized I can run the batch file command line and see where it's failing
#4
But then I don't really want to build multiple projects, I just use the one I'm working on and a basic NewProject for very occaisonal testing. Don't use T3DLauncher for anything more than hitting the "create new project" button.
07/15/2009 (1:25 pm)
Just as a personal pref I avoid the whole "batch file" business and just load up the .sln direct in yourproject/buildfiles/vs2008.But then I don't really want to build multiple projects, I just use the one I'm working on and a basic NewProject for very occaisonal testing. Don't use T3DLauncher for anything more than hitting the "create new project" button.
#5
Hmm, well THAT'S a problem
07/15/2009 (1:47 pm)
"Don't use T3DLauncher for anything more than hitting the "create new project" button."Hmm, well THAT'S a problem
#6
Typo there, what I meant to say is that I don't use the T3D Launcher much, not that you shouldn't.
edited a typo here now too ...
07/15/2009 (3:52 pm)
Edit!Typo there, what I meant to say is that I don't use the T3D Launcher much, not that you shouldn't.
edited a typo here now too ...
#7
Also, in a team setting, it obsoletes the need to go hunting through changelogs to update one's own project files. Update, run the generator, build, and you're fine. No worries about added, deleted, or renamed files.
07/15/2009 (8:55 pm)
If working on only one platform under only one IDE, then the whole projectGenerator business indeed isn't strictly necessary (though it still helps a lot when going from release to release). However, when working on multiple platforms across different IDEs, it really is a big help.Also, in a team setting, it obsoletes the need to go hunting through changelogs to update one's own project files. Update, run the generator, build, and you're fine. No worries about added, deleted, or renamed files.
#8
07/16/2009 (12:09 pm)
ProjectGenerator is so useful it should be considered a feature imo.
#9
07/16/2009 (1:10 pm)
ProjectGenerator is amazing. If you have ever been on a team where some use VC2k5, some use VC2k8, cross platform...you know the pain of updating project/make files. ProjectGenerator makes that go away. It has a super-powerful "module" and "library" system which make 'code packs' very easy to integrate. It turns into like, "extract to directory and add this line to your configs 'includeModule('someCodePack');"
#10
Lately Ive been sending "add this files at XXX folder" to my OSX teammates, totally forgot that PG its cross platform.
07/16/2009 (2:08 pm)
Maybe should be better promoted, and probably more documented. Those are indeed cool uses, but there is a tendence to forget it exist. I think it was never too clear what it was for.Lately Ive been sending "add this files at XXX folder" to my OSX teammates, totally forgot that PG its cross platform.
#11
07/16/2009 (2:38 pm)
@Andy, by the way, if you need more debug info on stuff failing, there are various commented out echo statements in the project generator's .php files.
#12
@Ross- Ah, thanks, is there a reason why this stuff isn't turned on by default?
07/16/2009 (3:31 pm)
@Novack- Agreed, mainly it would be nice if there was a simple doc on how to set up your config.@Ross- Ah, thanks, is there a reason why this stuff isn't turned on by default?
#13
(I'm not sure how useful any of it will really be for your case, because the times I've needed I was actually modifying the PHP to do something tricky.)
07/16/2009 (5:00 pm)
@Andy, mostly just because it's a TON of spew (for even just one of the echo statements), and it slows down the generateProjects batch file. And possibly because unless you're doing something custom, you won't need the info it generates. The regular failure messages are usually sufficient to figure out what went wrong.(I'm not sure how useful any of it will really be for your case, because the times I've needed I was actually modifying the PHP to do something tricky.)
Associate James Ford
Sickhead Games