Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TRANSFORMATION CHAIN (default) FAILS #27

Open
arunkumarg26 opened this issue Jan 14, 2018 · 5 comments
Open

TRANSFORMATION CHAIN (default) FAILS #27

arunkumarg26 opened this issue Jan 14, 2018 · 5 comments

Comments

@arunkumarg26
Copy link

arunkumarg26 commented Jan 14, 2018

I'm trying to apply sonar plugin and pmd plugin in my Gradle java project. I'm getting an error TRANSFORMATION CHAIN (default) FAILS
These are my files. Can you please help?

Git repo link : https://github.com/arunkumar-ebsco/WalkmodDemo/blob/sonar-and-pmd-fix/walkmod.xml

I suspect something wrong in walkmod.xml.Can anyone please help?

@rpau
Copy link
Contributor

rpau commented Jan 23, 2018

How are you running walkmod?

  • If it is from the command line, could you rerun it with the "-e" option and paste the output?

  • Otherwise, if you are running walkmod from the gradle plugin, please, set the showErrors property to true and paste the output.

@arunkumarg26
Copy link
Author

arunkumarg26 commented Jan 23, 2018

Hi @rpau

  1. Can you please elaborate where to put this showErrors property
  2. Also I tried applying walkmod to one of my existing project and it is giving me a wierd issues as attached.

it is changing it from HTTPHeadres httpheaders = new HTTPHeaders();
to something really wierd like below.

HTTP{
return true
}ers= new HTTPHeaders();

screen shot 2018-01-23 at 4 13 57 pm
screen shot 2018-01-23 at 4 14 23 pm

@rpau
Copy link
Contributor

rpau commented Jan 23, 2018

Sure, try this in your build.gradle:

walkmod {
      showErrors = true
 }

This should print a Java stacktrace in your terminal. FYI, the plugin repo is already explaining all the properties that you can configure.

@rpau
Copy link
Contributor

rpau commented Mar 4, 2018

Did you get the error messages?

@niels1voo
Copy link

printErrors = true ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants