Comments (6)
Entity generation PR is still not merged. So, it is not possible to generate entities at the moment.
Refer #37
from jhipster-kotlin.
@sendilkumarn,
what is the status of this...?
I've just executed then command $ jhipster --blueprint kotlin entity Todo
without errors but all new Classes are .java files
My version is:
$ jhipster --version
5.8.2
from jhipster-kotlin.
@JavierFuentes This should work even without the blueprint option.
jhipster entity Todo
will suffice. (provided the project is created with blueprint option enabled)
from jhipster-kotlin.
Sorry @sendilkumarn,
but I've reverted all unversioned files in my VCS and repeat the entity creation without --blueprint
modifier but the results are exactly the same... all server files are .java files
My version of Yeoman is this
$ yo --version
2.0.5
And my .yo-rc.json
content is this:
{
"generator-jhipster-kotlin": {
"promptValues": {
"packageName": "com.mycompany.myapp"
},
"jhipsterVersion": "5.7.2",
"applicationType": "monolith",
"baseName": "jhkPrueba",
"packageName": "com.mycompany.myapp",
"packageFolder": "com/mycompany/myapp",
"serverPort": "8080",
"authenticationType": "jwt",
"cacheProvider": "ehcache",
"enableHibernateCache": true,
"websocket": "spring-websocket",
"databaseType": "sql",
"devDatabaseType": "mysql",
"prodDatabaseType": "mysql",
"searchEngine": false,
"messageBroker": false,
"serviceDiscoveryType": false,
"buildTool": "maven",
"enableSwaggerCodegen": true,
"jwtSecretKey": "<the-secret>"
},
"generator-jhipster": {
"jhipsterVersion": "5.8.2",
"applicationType": "monolith",
"baseName": "jhkPrueba",
"clientFramework": "angularX",
"useSass": true,
"clientPackageManager": "npm",
"testFrameworks": ["gatling", "protractor"],
"jhiPrefix": "jhi",
"entitySuffix": "",
"dtoSuffix": "DTO",
"otherModules": [
{
"name": "generator-jhipster-kotlin",
"version": "0.7.0"
}
],
"enableTranslation": false,
"blueprint": "generator-jhipster-kotlin",
"blueprintVersion": "0.7.0"
}
}
I only apreciate that jhipsterVersion
doesn't match between generator-jhipster-kotlin
and generator-jhipster
entries but I don't know if this is the problem...
If I execute this inside my project's folder, this is the result:
$ jhipster --version
INFO! Using JHipster version installed locally in current project's node_modules
5.8.2
If I execute this outside my project's folder, the version is the same:
$ jhipster --version
INFO! Using JHipster version installed globally
5.8.2
I hope you can reproduce the scenario...
from jhipster-kotlin.
Hi @sendilkumarn,
have you been able to reproduce the escenario?
Am I the only one that jhipster-kotlin generator blueprint generates entities in Java instead of Kotlin?
from jhipster-kotlin.
Hello @JavierFuentes. You are currently using Kotlin blueprint 0.7.0 which is the latest release but the entity generator PR(#74) was merged after that(see commit history). Currently the only way you can use the entity generator is by using the master branch. Sorry
We are working now to finish updating to JHipster 6.x(SB 2.1)(also still in development) and simultaneously reach full feature parity with the Java generator(see #98 )
@sendilkumarn Would it make sense to release a new version from current master so that the entity generator could be used?
from jhipster-kotlin.
Related Issues (20)
- jhipster-native compatible HOT 1
- registerPage.replaceAll is not a function HOT 2
- Errors with freshly generated project HOT 2
- [Fix] React frontend react-router-dom types HOT 4
- Upgrade to JHipster version 7.8.1 HOT 4
- [Bug/Fix] patch method is generated for read-only entities in reactive application
- [Bug/Fix] jhipster dependencies are still used in get methods while passing the `--skip-jhipster-dependencies` HOT 1
- [ERROR] Note: Hibernate JPA 2 Static-Metamodel Generator 5.6.7.Final HOT 2
- [Bug/Fix] Liquibase diffChangelog not working HOT 2
- Error about missing EntityCallback.kt when importing JDL
- Missing generated JCache (Redis) cache configuration (IllegalStateException: Default configuration hasn't been specified!) HOT 1
- Update to JHipster 7.9.x dependency with Spring 2.7.0 HOT 2
- [Upgrade] Upgrade the generator to support mockito 4.0.0
- Error running generator app: SyntaxError: Missing catch or finally after try while compiling ejs HOT 1
- Integration tests failing on CI, when prod DB is not Postgres
- EntityCallback.kt was not found
- Compiler errors due to wrong mapper generation
- docker run not working
- Migrate to JHipster v8 HOT 2
- Error raised ,when executing khipster HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jhipster-kotlin.