Questions tagged [generated-code]

231 questions
2
votes
1 answer

Remove schema from linq datacontexts (dbml)

When I add stored procedures to a linq datacontext, by default visual studio prefixes the stored procedure with the sql schema that it is in. Is there any way to stop this? In our environment, the stored procedures may be moved to other schemas…
Jeremy
  • 44,950
  • 68
  • 206
  • 332
2
votes
1 answer

Entity Framework 6 T4 Template change file name of entity

I'm using EntityFramework.CodeTemplates.CSharp to reverse engineer the tables in my database (code first from database). Some of my tables a prefixed with a with the text "table_" and I want to remove that from the generated context and pocos. In…
Bryan
  • 5,065
  • 10
  • 51
  • 68
2
votes
2 answers

How do I specify a dependency rule in Maven between files of certain suffixes?

I have a Java program that generates Java classes for my application. Basically it takes in a simple spec for a class and generates a specialized form of Java bean. I want to integrate this into my Maven pom.xml so that if the input file is changed,…
Guy Argo
  • 397
  • 4
  • 10
2
votes
1 answer

Using generated source or src-gen folder in Android Studio?

My project my directory looks like this: -project -someModule -mainProjectModule -src -main -java (all of my code) I am trying to add a src-gen folder so it will look like this: -project -someModule …
clocksmith
  • 6,226
  • 3
  • 32
  • 45
2
votes
1 answer

How are dart generated libraries generated?

When working with dart, you stumble upon a few generated libraries. There is a whole GitHub group with a collections of those: https://github.com/dart-google-apis I have not yet figured out how these libraries are generated? Are they compiled from…
enyo
  • 16,269
  • 9
  • 56
  • 73
2
votes
0 answers

Apache Thrift Tutorial Error

I've been trying to learn to use Apache Thrift in python by following this tutorial: http://www.billdimmick.com/devjournal/building-an-apache-thrift-service-in-python.html. The thrift file used for this tutorial is: namespace py demo service…
2
votes
1 answer

IntelliJ include a directory contained in an excluded directory?

Can IntelliJ include a source directory contained in an excluded directory? I am using Google Protocol Buffers and am placing the generated class files in the target/proto-generated directory. I have already excluded the target directory, is there a…
Rylander
  • 19,449
  • 25
  • 93
  • 144
2
votes
1 answer

Android crash in mysterious d() method

Got a Play Store crash report (hooray). The stack trace lists an NPE occurring in MyActivity#d(), inside of MyAtivity#onCreate(). Is this a compiler-generated method? I sure didn't write it! Caused by: java.lang.NullPointerException at…
Cheezmeister
  • 4,895
  • 3
  • 31
  • 37
2
votes
1 answer

How to use autoInitializePage in JQueryMobile with client-side generated content?

I'm trying to prevent Jquery Mobile initialization until after the page content has been loaded, but I'm not getting the desired result. The project is a simple Question/Answer quiz. In my HTML document I have 3 containers…
2
votes
0 answers

JPA generating an invalid column

Helo there. I am attempting to a execute a many-to-many get all query. To be clear, I am attepmting to get a collection within a collection to be pulled back. Ie, we will get a result set, but in that result set, there will be a collection of all…
SoftwareSavant
  • 9,467
  • 27
  • 121
  • 195
1
vote
0 answers

Generate @WebService with Eclipse Annotation Processing

I'm using the Eclipse Annotation Processing feature to generate a webservice client. My Processor extends "javax.annotation.processing.AbstractProcessor" and is itself annotated (@SupportedAnnotationTypes) to only process my custom annotation. Using…
1
vote
1 answer

Using Acceleo 3 with Ant

I'm looking for information on how to perform Acceleo source generation with an Ant script. I've done some Googleing, but I haven't really found any straightforward way to do that. I'm looking first to do it in Eclipse, but a headless (is that the…
Dave
  • 4,050
  • 6
  • 30
  • 35
1
vote
3 answers

Generate HTML Table Client Side

(ASP.NET Web Application) I'd like to create a page which allows the user to build an HTML table. The user will be provided with the following controls: a textbox used to define the amount of rows in the table, a textbox used to define the amount…
cookbr
  • 125
  • 2
  • 9
1
vote
1 answer

incompatible types: com.google.common.collect.ForwardingImmutableMap cannot be converted to com.google.common.collect.ImmutableMap generated-sources

When I start my wildfly in debug modue I get the following error in project-parent\project-frontend\target\generated-sources\gwt\com\google\common\collect\ForwardingImmutableMap_FieldSerializer.java:17:84 java: incompatible types:…
user1167753
  • 705
  • 3
  • 7
  • 15
1
vote
0 answers

How to modify code written in InitializeComponent method (WinForms Designer generated code)?

I'm a WPF developer and have to perform some task in WinForms (I'm a total newbie of WinForms). Unlike in WPF, I've noticed that the InitializeComponent method in WinForms is generated by the Windows Form Designer, and obviously I can't modify the…
Cod Fish
  • 917
  • 1
  • 8
  • 37