Comments (8)
some logs:
Caused by: java.lang.IllegalArgumentException: Invalid relative name: META-INF\ap4k\kubernetes.json
at com.sun.tools.javac.file.JavacFileManager.getFileForOutput(JavacFileManager.java:737)
at com.sun.tools.javac.processing.JavacFiler.createResource(JavacFiler.java:429)
at io.ap4k.processor.AbstractAnnotationProcessor.write(AbstractAnnotationProcessor.java:152)
at io.ap4k.processor.AbstractAnnotationProcessor.lambda$write$0(AbstractAnnotationProcessor.java:96)
at io.ap4k.processor.AbstractAnnotationProcessor.write(AbstractAnnotationProcessor.java:96)
at io.ap4k.Session.onClose(Session.java:82)
at io.ap4k.kubernetes.processor.KubernetesAnnotationProcessor.process(KubernetesAnnotationProcessor.java:51)
from dekorate.
In a Maven example, if I run clean install -Dap4k.build=true -f pom.xml, I have the same issue.
But if I run the build from the IDE: Ctrl + B, the deployment scripts are generated(Only on Maven Project). I want to generate the deployment files also for Gradle. Thanks
from dekorate.
@alexlungu10: I assume that you have the same issue if you try to build the ap4k examples, right?
from dekorate.
Hello Iocanel, and thank you for your response, yes, that's true. One example is working with Maven (if I press the build button from IDE only-IntelliJ by Jetbrains). But I need a working example for Gradle with ap4k- annotations. I want to deploy that generated file on Kubernetes. Thanks !
from dekorate.
@alexlungu10: I managed to reproduce the issue. It seems to be windows specific.
I will have to deal with it in both ap4k and sundrio and release both. I'll try to do that over the weekend.
from dekorate.
Released 0.1.3 which contains the fix.
I will close the issue, but please do reopen if anything has slipped my attention.
from dekorate.
@iocanel , Thank you for your fix . I tested it in my project and is working fine. If you want I can commit my demo Spring-Boot Gradle project in the example area for Kubernetes annotations. Maybe others will find useful in the future :)
from dekorate.
from dekorate.
Related Issues (20)
- Helm: Generate the `values.schema.json` file
- Setting 0 replicas is broken for Deployment, DeploymentConfig and StatefulSet
- Dekorate BOM declares a non-existing dependency HOT 1
- Adding an empty property configuration to the Session has unintended side effects.
- CI: Cover scenario with Pipeline runs for Tekton HOT 1
- Tekton: Use params.XXX instead of inputs.params.XXX
- Dekorate BOM 3.7.0 is missing HOT 6
- Empty ProjectParseResourceFileTest.java in the repo
- settings.gradle.kts failed to parse rootProject variable on windows
- Build step io.quarkus.kubernetes.deployment.KubernetesProcessor#build threw an exception: java.lang.IncompatibleClassChangeError: class io.dekorate.tekton.config.TektonConfigFluent has interface io.dekorate.kubernetes.config.ApplicationConfigurationFluent as super class HOT 5
- Dekorate option output-path doesn't generate the files in the desired location HOT 1
- No tekton yaml resource is populated
- Provider io.fabric8.kubernetes.client.okhttp.OkHttpClientFactory not found HOT 7
- Typo in openshift VCS annotation
- Using dekorate.openshift.deployment-kind=Deployment produces empty {}
- Extract Helm model into separate artifact to make it easier to reuse
- support kubernetes affinity
- kubernetes-spring-starter did not generate k8n manifest files in gradle
- Support env vars from secrets with a prefix HOT 2
- Allow disabling version label
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 dekorate.