Questions tagged [auto-generate]

The automation of the creation of classes, files, documentation, or anything else for which manual creation is costly.

See also

654 questions
2
votes
1 answer

WiX: How to mix hand-generated and auto-generated .wxs content?

I have a project that has a large number of files. Between versions of our software, new files get added and some get removed. Therefore, in automating our build process, I would like to have heat auto-generate a .wxs file (let's call it…
Eric
  • 1,414
  • 3
  • 16
  • 35
2
votes
1 answer

How to create composer library package that auto generates code when included

Every time I create a new PHP project I basically use the same MVC folder structure that I adopted and like, I use the same base classes, interfaces, and the same PDO DAL implementation. When I'm creating a new project I copy&paste all the needed…
2
votes
1 answer

Ibator didn't generate Oracle varchar2 field

I have table APP_REQ_APPROVE_COMPARE with following fields: "ID" NUMBER NOT NULL ENABLE, "TRACK_NO" VARCHAR2(20 BYTE) NOT NULL ENABLE, "REQ_DATE" DATE NOT NULL ENABLE, "OFFCODE" CHAR(6 BYTE) NOT NULL ENABLE, …
wearetherock
  • 3,721
  • 8
  • 36
  • 47
2
votes
1 answer

How to make Xcode 5 Autogenerate Code for Setters and Getters in .m for Properties defined in .h?

What i am trying to do is save time when i writing my classes in objective C. If I define Properties in my .h file can i somehow make Xcode 5 autogetterate setters and getters for those properties. Lets say this is my .h: #import…
Stefan Vasiljevic
  • 4,315
  • 1
  • 18
  • 17
2
votes
0 answers

Automatic schema generation of mongoDB with the use of Hibernate property

In hibernate,There is property hibernate.hbm2ddl.auto for Relational Database. The hibernate.hbm2ddl.auto option turns on automatic generation of database schemas directly into the database. In Relational Database we can use this property. Is…
Satyam Koyani
  • 4,236
  • 2
  • 22
  • 48
2
votes
1 answer

VS2013 activity item code analysis and xml documentation will not compile

We use code analysis on our projects, and also enabled the 'XML documentation file:' option in our project settings. Also we have set 'Treat warnings as errors' to All. On the code analysis tab, we checked the option 'Suppress results from generated…
2
votes
0 answers

PHP & MVC: Trouble dynamically creating appropriate MVC Classes

I'm trying to build a CMS using the MVC pattern. The structure of my CMS is as follows: ->index.php: entry point. Contains the appropriate includes and creates the frontController which takes a router as it's parameter: $frontController = new…
iLoveWagons
  • 1,091
  • 4
  • 17
  • 30
2
votes
0 answers

How to generate and add some code snippet to an existing java source code?

I've searched for the methods of generating code in java source code. As you know, there are several methods for accomplishing this tasks using JDT AST or CodeModel. As I've understood, these methods facilitate generating java source code from…
2
votes
3 answers

Generating an Organogram in MVC and Displaying in View

I imagine this question will not bear anything, but this is a last ditch attempt before I have to tell my PM I simply can't do it. My colleague (usefully before leaving the project) was a yes man to everything our PM asked for, regardless of what it…
Felix Weir
  • 459
  • 7
  • 18
2
votes
1 answer

Eclipse CDT methods comments autogeneration using Doxygen style

Hope this is not a duplicate... It should not since I tried the usual provided fixes. I'm facing problems with the automated generation of comments for Classes and Methods using Elipse CDT (Juno/3.8, Linux) configured with Doxygen as default…
Gauthier Boaglio
  • 10,054
  • 5
  • 48
  • 85
2
votes
1 answer

customizing some auto generated codes with T4

I Used "EF 4.x DbContext Fluent Genarator" to generate my poco classes , mapping files and also Context file, in EF Code first.(in fact "EF 4.x DbContext Fluent Genarator" uses 3 T4 files) now i want apply some changes on auto generated…
Masoud
  • 8,020
  • 12
  • 62
  • 123
2
votes
1 answer

Jquery get dynamically generated Id of control

I have a page where Ids are changed to ctl00_MainContent_txt_insurance. In this case I cannot use the actual Id as $("#txt_insurance"). so what I did was to use $("#<%= txt_insurance.ClientID %>"), which works fine now. But now if I want to replace…
Zaki
  • 5,540
  • 7
  • 54
  • 91
2
votes
0 answers

datagridcheckboxcolumn with dynamic columns and binding...

I've spend the past months reading questions, answers and advice on StackOverflow. I'm a beginner in C#, .Net, WPF and MVVM. I'm developing a PMS (property management system) for a friend's hotel. I've often been stuck for days on some problems. So…
2
votes
4 answers

Add method to Generated class in Java

I have classes that are automatically generated in Java. I want to add a method to that class (in another file) so that I can add additional functionality without changing the generated file. The idea being that if I have to recreate the generated…
Jason
  • 13,563
  • 15
  • 74
  • 125
2
votes
1 answer

Are there limits on the size of file that can be compiled in Visual Studio C?

I am working on a C# program that produces a very large piece of C code. It produces a .c file and accompanying header file. On a very basic level, the program accepts a string from the user, then compares it to thousands of other strings that have…
Jack
  • 508
  • 1
  • 9
  • 18