Questions tagged [generated-code]
231 questions
0
votes
1 answer
Using apache cxf and maven I get code that looks incorrect
I have several WSDL files that I"m using to generate client code to talk to a remote service using SOAP. The generated code includes a line that looks like this:
public class AddProductService extends Service {
static {
URL url =…

Tony Giaccone
- 511
- 5
- 18
0
votes
1 answer
How to generated code with different or unequal characters in python
I'm new to Python. How can I generate this code with a different or unequal character?
I want output like this
41PVY02KF#
83#YCF6X15
import random
import string
FullChar = CEFLMPRTVWXYK0123456789#
count = 10
count = int(count)
UniqueCode = 0 …

here
- 25
- 5
0
votes
1 answer
ANT: ignore certain files from javac's sources
Currently, we define a path with
...
and then compile using

Thomas S.
- 5,804
- 5
- 37
- 72
0
votes
1 answer
Specflow generated feature.cs file not working
Last time it actually worked: Monday 27/07/2018
I've been using specflow for around 2 years now. But as of today (this week) I've got an issue I never encountered before. When changing even a single letter in the .feature file as usual Specflow will…

Akorna
- 217
- 2
- 16
0
votes
0 answers
Java Parser iterate over methods of a class
I would like to know if exists such thing like java parser (like parser xml). I mean from a String like this
String javaToParse = "public class x{void foo(){...} void baar(){...}}"
I could for example get the body (in string format) from foo or…

Lucke
- 316
- 6
- 18
0
votes
1 answer
How to generated mixed data and keep the relation or correlation each column?
i'm working on clustering for mixed data. To test my algorithm, i need to do some simulation using generated data. i know to generate numerical attribute using rnorm, and for categorical using sample of letter maybe?
But the problem is to make the…

Jack shephard
- 53
- 8
0
votes
1 answer
Config generate javadoc in gradle
I'm using Gradle to coding and using default Generate document of sts to generate java doc. But document has trouble about library in function description.
- Currently, for all type it always display full lib: java.lang.String for String
- Expect,…

Chi.che
- 33
- 1
- 10
0
votes
2 answers
Generating Variable in Stata?
I have a categorical variable and am trying to calculate a new variable that multiplies each response by its frequency. Ex:
total | Freq.
------------+---------------
1 | 6
2 | 12 …

SarahB
- 1
- 1
0
votes
2 answers
Slow two-table query in SQL Server
The application I work on generates an SQL query somewhat like this:
Select
VISIT_VIEW.VISIT_ID, VISIT_VIEW.PATIENT_ID, VISIT_VIEW.MRN_ID,
VISIT_VIEW.BILL_NO, INSURANCE.INS_PAYOR'
FROM
'VISIT_VIEW
LEFT JOIN
INSURANCE ON…

David Siegel
- 221
- 2
- 19
0
votes
1 answer
Speedment deletes generated code when a new database is configured
My app connects with diferent databases. First of all, I generate the orm code with speedment for the first database. But when I try to connect to a newone Speedment deletes the code generated for the previous one.

Manuel
- 205
- 1
- 4
- 17
0
votes
2 answers
Generate swagger-api with existing vert.x project
I have an existing vert.x project which became too heavyweight and intransparent.*
To replace it I am checking for several options, one of those being swagger.
Does anyone know an opensource lib which can create a swagger-api from vert.x?

She-Ra
- 21
- 1
- 2
0
votes
5 answers
How to generate a for loop using variables?
I started learning python recently and I want to become more knowledgable and flexible with using loops.
My question is, let's say I created a list of names:
names = ('Benjamin', 'Damien', 'Dexter', 'Jack', 'lucas', 'Norman', 'Thorn', 'Bella',…

Johnny Kang
- 145
- 1
- 12
0
votes
1 answer
Lost parameter names in TableAdapter generated Insert method
I'm trying to generate a Insert method in a TableAdapter with a query like
INSERT INTO Status
(ScheduleID, StatusID, Name, Color)
VALUES (?, ?, ?, ?)
Here Name is a string and the other are integers.
The generated signature…

hultqvist
- 17,451
- 15
- 64
- 101
0
votes
2 answers
ClassNotFoundException with generated class after redeploy with jack android
I am creating an app with schematic library generating SQL database and content provider for me. I am also using a bunch of other libraries, I will include my gradle file in the bottom.
When I deploy my app first, it runs correctly, but if I change…

bendaf
- 2,981
- 5
- 27
- 62
0
votes
1 answer
How to generate python code from WSDL using ZSI?
I installed ZSI package.
I have wsdl file and I want to generate python code from it.
Is there a command-line tool in ZSI to generate python code from WSDL or I need to write my own class for this and call wsdl2python methods?
Thanks...

Andrey Rubliov
- 1,359
- 2
- 17
- 24