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

Make WinP Debuggable #36

Merged
merged 8 commits into from
Apr 18, 2017

Conversation

oleg-nenashev
Copy link
Member

@oleg-nenashev oleg-nenashev commented Apr 17, 2017

Idea of this change is to provide a debuggable version of WinP, which allows attaching debugger to java process utilizing it in order to debug the native part.

  • - Start building JAR bundle with Debug versions of DLLs (symbols will be published on AppVeyor)
  • - Explicitly specify mvn package versions in the build flow
  • - Rework build.cmd to take more parameters
  • - In Appveyor builds use the locally defined version

echo No target version specified, will determine it from POM
REM TODO: Apply some MADSKILLZ to do it without the temporary file?
call mvn -q -Dexec.executable="cmd.exe" -Dexec.args="/c echo ${project.version}" --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec > version.txt
for /f "delims=" %%x in (version.txt) do set version=%%x
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I already regret I wrote it in Batch

@oleg-nenashev
Copy link
Member Author

@reviewbybees

@ghost
Copy link

ghost commented Apr 17, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

Copy link
Member

@svanoort svanoort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐝 Looks reasonable as far as I understand it - though my batchfile is a bit rusty, so could be missing something.

I think the build.cmd could be titled "writing a makefile in batch using labels and gotos." Watch out for raptors - ;-)

@oleg-nenashev
Copy link
Member Author

@reviewbybees done

Batch was definitely a wrong choice, I have never planned to make it complex. Makes sense to consider powershell for the next big refactoring anyway.

@oleg-nenashev
Copy link
Member Author

Merging to get the CI changes applied

@oleg-nenashev oleg-nenashev merged commit 38213d2 into jenkinsci:master Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants