On Thu, Sep 26, 2013 at 2:30 AM, Al Jay <abusemysk...@googlemail.com> wrote:
> Hey, I think we might have a little missunderstanding here ;).
>
> Many libraries are not held in subfolders of the sourcecode, that means they
> are not in C:\Source\bar1\lib\*.dll or something like that, they are
> libraries from third party tools like APEX True DB.
> AS you only can register a .dll-file once via regsvr32.exe and the third
> party programs need to be functional on the workstation, we have the problem
> that these libraries are in folder like C:\Program Files
> (x86)\thirdparty_solution\lib\*.dll and connect be cut out to another
> location, but copied - which might be a bad solution also

The solution is still to make the use independent of the drive
location or make sure everything can see it in the same path.  We put
some common things (boost versions, etc.) on a network share and
reference it  as \\server\path from windows build servers - generally
setting an environment variable in Jenkins pointing to the location
and expanding that in the project reference so you could use a local
copy if you wanted to set up something different on some nodes or set
the variable locally if you run the same build outside of Jenkins.

> So the only solutions I might think if is get jenkins to stop copying the
> VSS structure or to copy the needed libraries via batch-file to
> C:\Source\bar1\Solution\Project and call the batch by jenkins before
> compiling. But it seems a bit messy to me to solve it this way.
>

Also subversion has a special case that we use for our internally
built and versioned libraries.  You can use an 'external' property to
within a tree to pull in items from a different repository or location
into your checkout tree so you can use relative paths.   Not sure how
to match that with a different VCS.   Maybe just expanding the path to
an absolute location in an environment variable can do what you need.

-- 
    Les Mikesell
    lesmikes...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to