Artifact Dependencies

Hi,

I'm trying to copy a part of an artifact solution to another solution and I face with two issues.

The first one is that files I have to copy are in a folder named 'Cytoweb - Site'. If in my artifact dependencies I set the artifact path to 'Cytoweb - Site' It failed and did not find the files. If I set the artifact path to 'Cytoweb%20-%20Site' it works.

My second problem is that files I have to copy are in subfolders 'Cytoweb - Site/a/b/c' and I only want to copy files from the folder 'c'. The problem is that folders a and b are copied too. Is it a wildcard that allow to only copy files that are in the folder c?

Thanks in advance for your help!

Max.

5 comments

Hello,

Please watch for: http://www.jetbrains.net/jira/browse/TW-2857 and
http://www.jetbrains.net/jira/browse/TW-3018
Unfortunately both of these bugs won't be fixed in the TeamCity 3.0. Sorry
for inconvenience.

--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"d'Artois Maximilien" <indour@hotmail.com> wrote in message
news:460823.1196325840306.JavaMail.itn@is.intellij.net...

Hi,

>

I'm trying to copy a part of an artifact solution to another solution and
I face with two issues.

>

The first one is that files I have to copy are in a folder named
'Cytoweb - Site'. If in my artifact dependencies I set the artifact path
to 'Cytoweb - Site' It failed and did not find the files. If I set the
artifact path to 'Cytoweb%20-%20Site' it works.

>

My second problem is that files I have to copy are in subfolders
'Cytoweb - Site/a/b/c' and I only want to copy files from the folder 'c'.
The problem is that folders a and b are copied too. Is it a wildcard that
allow to only copy files that are in the folder c?

>

Thanks in advance for your help!

>

Max.



0

The first problem is not really a problem to me, I can work with that.
But I'm not sure the second one matches the issue TW-3018.
For example, I have an artifact with this structure:
artifact path: solution1/a/b/c/mydll.dll
destination path: solution2/bin/
The result will be: solution2/bin/a/b/c/mydll.dll
What I want is: solution2/bin/mydll.dll

Is that the same problem as TW-3018?

Message was edited by:
d'Artois Maximilien

0

I think the root of the problem is the same. In TW-3018 path to artifacts
was something like: libs/. and user beleived that files under the 'libs'
subfolder will be downloaded and put into the destination directory. However
TeamCity put them in /libs/ directory. The same confusion is with your settings. In your case you probably can workaround this problem. For example, you could setup artifacts publishing paths like this: solution1/a/b/c => bin Then configure dependencies: artifact path: bin/*.dll dest path: solution2 -- Pavel Sher Software Developer JetBrains, Inc. http://www.jetbrains.com "Develop with pleasure!" "d'Artois Maximilien" ]]> wrote in message
news:24382859.1196331689110.JavaMail.itn@is.intellij.net...

The first problem is not really a problem to me, I can work with that.
But I'm not sure the second one matches the issue TW-3018.
For example, I have an artifact with this structure:
artifact path: solution1/a/b/c/mydll.dll
destination path: solution2/bin/
The result will be: solution2/bin/a/b/c/mydll.dll

>

Is that the same problem as TW-3018?



0

I created a second builder to do the trick and that works.
I have another question (the last one, I promise!), what should be the wildcard to get files with the same name and not carrying about the file extension?

0

Try *.
. matches files with extensions only.

--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"d'Artois Maximilien" <indour@hotmail.com> wrote in message
news:1388297.1196349752331.JavaMail.itn@is.intellij.net...
>I created a second builder to do the trick and that works.

I have another question (the last one, I promise!), what should be the
wildcard to get files with the same name and not carrying about the file
extension?



0

Please sign in to leave a comment.