Jump to content
Excelsior Forums
tzakowicz

Build Using Jenkins

Recommended Posts

I am attempting to use the excelsior-jet-maven-plugin on a Jenkins build server.  Jenkins is running as a System account, and as such, uses C:\windows\system32\config\systemprofile\ as a USERPROFILE directory.  When I build using my account and Eclipse, the directory used is C:\Users\<Username>.

When Excelsior builds, it is attempting to write some configuration files to the above directory, including one called "<PROGRAM_NAME>.rsp".  However, maven doesn't have the access to write files to that directory, so nothing is created.  When XLink runs later in the process, it is unable to find that file, which fails the build.

I would much rather write those files to the project's target directory, so they are cleaned up after every build.  Is there a way to change the spot where the config files are written, preferably through the Maven plugin?

Thanks in advance.

Share this post


Link to post
Share on other sites
Quote

I would much rather write those files to the project's target directory, so they are cleaned up after every build. 

In this case, smart re-compilation would not work and the entire project is rebuilt even though most of jars are not changed.

Quote

Is there a way to change the spot where the config files are written, preferably through the Maven plugin?

Yes, you can configure placement of Project Data Base as described at

https://github.com/excelsior-oss/excelsior-jet-maven-plugin/wiki/Incremental-Compilation#pdb-placement-configuration

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×