Questions tagged [generated-code]
231 questions
1
vote
1 answer
Do JOOQ-generated classes have any dependency on licensed JOOQ jars(ex. enterprise edition - trial version)?
I mean once the trial expires, what is the impact to the codes using jooq for persistence and its generated entity classes?

Patrick Tolentino
- 79
- 1
- 8
1
vote
1 answer
What happened to 'nice' generated class names in .NET for web services?
I am using .NET 3.5 to call a FedEx web service.
In Fedex's sample code (VS2005) it has things like:
AddressValidationService addressValidationService = new AddressValidationService();
AddressValidationReply reply =…

Simon_Weaver
- 140,023
- 84
- 646
- 689
1
vote
1 answer
as3commons generate function call at runtime
For reasons I am generating a class at runtime which has an existing super class with a protected member and implements an existing interface. Each method (and accessor) of the interface needs to get generated, too. The point where I'm struggeling…

codeboxes
- 11
- 3
1
vote
1 answer
What happens behind the scenes when I do something in the interface builder of Xcode?
I recently started learning iOS development and just loved using the interface builder of Xcode. It's so easy to add segues and outlets and "event handler" thingys (sorry I don't know what they are called).
However, I got confused when I add an…

Sweeper
- 213,210
- 22
- 193
- 313
1
vote
0 answers
MSBuild - What task signals a code generator has been run
I want an MSBuild task to run after the Designer.cs files have been generated (but before the actual C# compiling). Some of the Visual Studio tools still don't put headers on their public members and these items kick out during the compile and…

Quark Soup
- 4,272
- 3
- 42
- 74
1
vote
2 answers
Best Practices for Text Generation in Python
I'm writing a python script that generates another python script based off an external file. A small section of my code can be seen below. I haven't been exposed to many examples of these kinds of scripts, so I was wondering what the best practices…

jwp36
- 136
- 7
1
vote
2 answers
Is there any solution for generating the restfual api code both for client and server
The functions for operating the restful api is quite same. Is there any project that can generate the source code for different platform such android,ios and backend stuff.

Sim Sun
- 587
- 1
- 4
- 28
1
vote
1 answer
Netbeans history shows 100 changes but I made only a few. How do I avoid this?
In Netbeans when I make a dozen changes that break more than they fix, usually I find the culprit right away by looking at the history, find the culprit, fix it, and go on my merry way. Takes very little time.
But often I find that Netbeans shows…

DSlomer64
- 4,234
- 4
- 53
- 88
1
vote
0 answers
WCF: Switched computers, now bidirectional serialization has stopped working
I'm using this code generator to create business objects, with bidirectional serialization attributes, that can be sent from a server to a client using WCF. This used to work, but I've switched computers, and now I seem to only have unidirectional…

Mike Pateras
- 14,715
- 30
- 97
- 137
1
vote
1 answer
Override Doctrine EntityRepositoryGenerator & EntityGenerator in Symfony2
is there a way to override Doctrines EntityRepositoryGenerator & EntityGenerator in Symfony2?
Due to some Coding Guidlines i would like to modify the default Template used, when Entities & Repository Classes are generated via console.
I tried to…

Fabian
- 15
- 3
1
vote
1 answer
Sonarqube - Why does java generated lines of code not get populated?
I am learning to use Sonarqube 4.3.2 for my Maven based Java projects. I have things working pretty well, but cannot get the Generated Lines and Generated Lines of Code metrics to populate.
I would love this metric to track how much code out of…

Chris
- 85
- 7
1
vote
1 answer
Data Row Type detection when using XSD generated DataSets
I have an XML Schema Definition (XSD) file in Visual Studio 2010. The DataSet Designer should generate a strongly typed dataset in the .designer.vb file
Depending on a number of errant factors, it seems to sporadically provide strong typing…

KyleMit
- 30,350
- 66
- 462
- 664
1
vote
1 answer
Maven Generated Sources inside Different Project
I have a Java web project that is built using Maven. The project has some annotated classes to generate some sources at build time using a template (velocity). Everything works well so far, I'm using the generated sources flawless.
Right now I need…

fakefla
- 156
- 2
- 5
1
vote
1 answer
How can I control build order in cmake without adding static dependencies?
I'm using OpenGL Loader Generator to generate GL function loading code for my project. It generates gl_loader.h and gl_loader.c. Some of my other source files depend on gl_loader.h, but not all of them, so I need cmake to (re)run glLoadGen if…

realh
- 962
- 2
- 7
- 22
1
vote
1 answer
Transactions in JSF Netbeans 7.3.1 generated code
I'm new to Java EE, following the learning by doing approach. In a very simple Mysql database with Netbeans 7.3.1 having a Patient table relates to a Person table, I'm having trouble understanding Netbeans generated code. I want to create a…

umairnaqvi
- 57
- 6