aws-swf | Node.js helpers to access the Amazon SWF API | REST library
kandi X-RAY | aws-swf Summary
kandi X-RAY | aws-swf Summary
Node.js helpers to access the Amazon SWF API
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Stringify a given str .
aws-swf Key Features
aws-swf Examples and Code Snippets
Community Discussions
Trending Discussions on aws-swf
QUESTION
So I'm using gitlab and I have a java project that's built on gitlab VM using a .gitlab-ci-yml file.
I have this problem where we have to change the java version the project is build with (current java 11).
So adding in build.xml
this: will print
11
.
I've tried to change it specifying in javac
the source
and target
but if the target
is not specified, it will not build it using another java version, and if it is specified, it will return an error:
Also using
will return the same error.
So I'm not sure if basically adding my own ant
tool and java
version into the package and force it to use that one will work, I don't know how to do this.
Here is the build.xml file and also the .gitlab-ci.yml
UPDATE: .gitlab-ci.yml
was updated. Now the error seems to be the following, having the below .gilab-ci.yml
file:
Unable to locate package adoptopenjdk-17-hotspot
build.xml
ANSWER
Answered 2021-Oct-18 at 13:08According to the information provided in the comments, you have Java 14.0.1 on your GitLab runner. Since this Java version is used to launch ant and its tasks, it cannot compile code with a "17" target version.
To make a long story short, you'll need a newer Java version on your runner.
The simplest way of doing this is probably by using a pre-built image that contains it:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install aws-swf
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page