Comments (13)
@fowlie sorry for a late answer. I think you are right, it could be a problem with forward slashes. Could you please try updating the generated manifest.xml file by replacing \
with /
and then import into XL Deploy manually? And let me know if it fixes the problem?
Thanks in advance.
from gradle-xld-plugin.
Thanks for the tip. I'll have to get back to you about this when I get more time to work on this issue, maybe beginning of next month.
from gradle-xld-plugin.
I just tried your idea and it worked. Do you have any ideas on how to fix it?
from gradle-xld-plugin.
@fowlie I fixed the bug with Windows paths and released a new version: 0.2.2. Please let me know if this does not fix your issue!
from gradle-xld-plugin.
Thanks, but I can't find the new 0.2.2 version in the public repo. Is it just me, or is it possible that the publication is not done yet?
from gradle-xld-plugin.
Which public repo do you mean? The plugin is published to the plugins.gradle.com: https://plugins.gradle.org/plugin/com.xebialabs.xl-deploy/0.2.2 , so it's downloaded from there once you add the plugin to your project.
You still need to configure additional repositories, as some dependencies come from there, like this:
buildscript {
repositories {
maven {
url "http://www.knopflerfish.org/maven2/"
}
maven {
url "https://dist.xebialabs.com/public/maven2/"
}
}
}
plugins {
id "com.xebialabs.xl-deploy" version "0.2.2"
}
from gradle-xld-plugin.
We're using apply plugin
and not plugins
, so it was not clear for me that I needed to add https://plugins.gradle.org/m2/
as a repository. Probably should be added to the documentation.
from gradle-xld-plugin.
Ah, right! Thanks for reporting. Gradle changed the way you can publish a plugin a couple of months ago :)
from gradle-xld-plugin.
I can't get this to work, I'm forced to use the company Nexus server since the build server doesn't have direct internett access (yeah we should probably do something about this, but...). And it seems that https://plugins.gradle.org/m2/
is not possible to add as a proxy repo in Nexus for some reason. Could you please also publish version 0.2.2 to JCenter etc?
from gradle-xld-plugin.
Ok, it's published: https://bintray.com/xebialabs/maven/xl-deploy-gradle-plugin/0.2.2/view . Hope this helps!
from gradle-xld-plugin.
Thanks a lot! 😃
from gradle-xld-plugin.
Hi byaminov,
i am unable to deploy my .dar file in to XLdeploy and i am getting below error.
com.xebialabs.deployit.ci.server.PluginFirstClassloaderInvocationHandler.doInvoke(PluginFirstClassloaderInvocationHandler.java:70)
at com.xebialabs.deployit.ci.server.PluginFirstClassloaderInvocationHandler.invoke(PluginFirstClassloaderInvocationHandler.java:56)
... 12 more
ERROR: Error when importing dar file workspace\sample\deployitpackage\sample-1.0.dar : java.lang.RuntimeException: Failed : HTTP error code : 500
Build step 'Deploy with XL Deploy' marked build as failure
Finished: FAILURE
please help out me with this error.
from gradle-xld-plugin.
Hi @maruthi199,
Seems like XL Deploy returns the 500
HTTP error when trying to import the sample-1.0.dar
, but there is not any more information to find the reason in the log that you sent. Can you please check the XL Deploy server logs and see what exception occurs there? Maybe you will get a clue what's wrong with the DAR file.
Also can you please create a new GitHub issue for your question? Or do you believe that your error is related to the above discussion about Windows slashes and the way the Gradle plugin should be added?
from gradle-xld-plugin.
Related Issues (17)
- version of remote-booter HOT 4
- DarTask doAfterEvaluate() does work during configuration and breaks UP-TO-DATE checking HOT 2
- Running Gradle 4.0 causes You cannot add child specs at execution time exception HOT 2
- 5.0 plugin An established connection was aborted by the software in your host machine HOT 1
- Remote boot library 2017.5.0 is not backwards compatable to xl-deploy 6.x HOT 2
- The plugin takes into account the commented part of deployit-manifest.xml and try to execute them HOT 1
- ERROR: Error when importing dar file : Failed to create directory within 10000 attempts (tried 1562589097891-0 to 1562589097891-9999) HOT 1
- Migrate to gradle wrapper 5.x due to java 11 LTS
- Gradle 6.5 warnings in preparation for Gradle 7.0
- Failed to apply plugin in Gradle 7.0 HOT 3
- Deploy Only Task
- generating deployit-manifest.xml at buildtime HOT 11
- Artifact function doesn't support folder HOT 5
- stackoverflow when using 0.2.2 version HOT 4
- deletePreviouslyDeployedDar : No such property HOT 5
- windows MSI deployable support 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 gradle-xld-plugin.