system.global.library + faster way to set

Hi,

I'm currently evaluating TeamCity, and I've run into the system.global.library issue which I see has been mentioned in various other previous posts.

I'm now aware that I can set it in buildAgent.properties or Properties + Env Vars, however is there a faster way to load?  I'm sure that others like me have 20+ global libraries to set.

It would be nice if:
- TeamCity build config could have the option of using global libraries of an IDEA applicationLibraries.xml
- Global libraries are also avail in IDEA project files etc.

It doesn't make much sense to have to configure each one manually; and it takes away from speed of getting an TeamCity -> IPR runner setup.

If this is currently possible, would love to hear how!

Thanks

5 comments
Comment actions Permalink

Hi!

AFAIK IDEA global library is per-workstation by design. So you should configure the library on each machine that you work with IDEA. The same holds true for a build agent.

If this is not what you need, maybe you should use project libraries?

0
Comment actions Permalink

Hi,

I agree It does make sense to use project libraries.

However, for a group (like myself) that keeps one repository for all jars, and has many projects that access these jars, it makes sense to setup global.  Also,

What I was hoping for was a simple setup straight from the .ipr but none of my global libraries are setup, even with the same structure / absolute paths.

To repoint an enterprise project's libraries to a different configuration is time consuming and not what I was hoping for from TeamCity, IDEA integration.

0
Comment actions Permalink

Not sure I understand how this can be changed, provided that Global library is a machine-dependent setting by design...

0
Comment actions Permalink

Well what I suggest definitely works -- because I've generated the ant build.xml from IDEA project which has the path to global libraries, and with this it has been working fine in Hudson for the last year

Really wanted to test drive team city and see what it could do

0
Comment actions Permalink
Well what I suggest definitely works -- because I've generated the ant build.xml from IDEA project which has the path to global libraries

You can probably use the same approach with TeamCity.

Seems, what you request is to share IDEA's machine-specific settings between the build agents. We have a related feature request filed for this: TW-5124 You can watch/vote/comment on it.

0

Please sign in to leave a comment.