GithubHelp home page GithubHelp logo

Comments (13)

byaminov avatar byaminov commented on June 23, 2024

@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.

fowlie avatar fowlie commented on June 23, 2024

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.

fowlie avatar fowlie commented on June 23, 2024

I just tried your idea and it worked. Do you have any ideas on how to fix it?

from gradle-xld-plugin.

byaminov avatar byaminov commented on June 23, 2024

@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.

fowlie avatar fowlie commented on June 23, 2024

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.

byaminov avatar byaminov commented on June 23, 2024

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.

fowlie avatar fowlie commented on June 23, 2024

We're using apply pluginand 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.

byaminov avatar byaminov commented on June 23, 2024

Ah, right! Thanks for reporting. Gradle changed the way you can publish a plugin a couple of months ago :)

from gradle-xld-plugin.

fowlie avatar fowlie commented on June 23, 2024

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.

byaminov avatar byaminov commented on June 23, 2024

Ok, it's published: https://bintray.com/xebialabs/maven/xl-deploy-gradle-plugin/0.2.2/view . Hope this helps!

from gradle-xld-plugin.

fowlie avatar fowlie commented on June 23, 2024

Thanks a lot! 😃

from gradle-xld-plugin.

maruthi199 avatar maruthi199 commented on June 23, 2024

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.

byaminov avatar byaminov commented on June 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.