Hi Raj,

I think I understand what you're trying to do, but you might need to think 
about Artifactory a bit differently.  (Apologies if you already understand all 
this -- but the way I read your question, maybe you don't yet.)

* Path Structure

Although it looks and (sort-of) works like a filesystem (you can create any 
folder structure you like), really it's meant to be used more like a database: 
the path structure you create should follow common patterns so that other tools 
can read it automatically.  For example, with a JVM-oriented tool like Maven, 
Ivy, or Gradle, the user specifies a "group:name:version" string and the tool 
translates it into an HTTP URL, e.g., 
"https://myartifactory.local/some-repo/group/name/version"; and then looks for 
files below that.  If you make your own structure, those tools will require 
some customisation to use it.

* Dependency Metadata

Module versions in Artifactory can (and usually do) come with some kind of 
metadata file which describes their dependencies on other module versions.  
Again for JVM-oriented tools, this is normally a "pom.xml" or "ivy.xml".  So, 
if you wanted to make one module which "pulls in" other modules, you would 
normally put that relationship information in the metadata file.

* Repository Types

Normally in Artifactory (at least from 4.x) each repo is intended for one type 
of module (JVM, .NET, npm, and so on) in one format (for example, JVM modules 
can be in Maven POM or Ivy format).  If you store different kinds of module in 
one repo, some features of Artifactory won't work as well (e.g., searching, and 
bulk deletion of versions).  If you store them in different formats (whether or 
not they're in the same repo), there isn't really any off-the-shelf tool which 
will let you track the dependencies between modules automatically.


My suggestion would be one of the following.

1. Put each module in its own kind of repo, and write your own metadata format 
plus some script (or extend some other tool like Gradle) so that it can pull 
all those modules from Artifactory and put them together on another machine in 
the layout you want.  It might be enough to use the REST API or the "Art" 
command-line tool.

2. Put all modules in the same repo as ZIP files and use a tool like Gradle to 
pull them down.  The advantage is that Gradle understands ZIP files 
automatically so you can do more with them in one scripting tool.  The 
disadvantage is that you lose any "smart" integration with other tools (e.g., 
Visual Studio using a NuGet repo).

But whatever you do, keep it simple to start with!


Hope that's helpful ...

Hugh Greene, Senior Software Developer
Toshiba Medical Visualization Systems Europe, Ltd
Bonnington Bond, 2 Anderson Place, Edinburgh EH6 5NP, UK
Tel + 44 (0)131 472 4792 / Fax + 44 (0) 131 472 4799
http://www.tmvse.com / mailto:[email protected] 

DISCLAIMER
Unless indicated otherwise, the information contained in this message is 
privileged and confidential, and is intended only for the use of the 
addressee(s) named above and others who have been specifically authorized to 
receive it. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this message and/or attachments 
is strictly prohibited. The company accepts no liability for any damage caused 
by any virus transmitted by this email. Furthermore, the company does not 
warrant a proper and complete transmission of this information, nor does it 
accept liability for any delays. If you have received this message in error, 
please contact the sender and delete the message.


-----Original Message-----
From: Raj [mailto:[email protected]] 
Sent: 25 April 2016 12:19
To: [email protected]
Subject: [Artifactory-users] Create Empty Folder

Hi Team,

We have 12 projects which will make up a product.

To create a final product we need to compile all the project dependencies and 
then package.

So now I am trying to create one repository and create 12 folders under that 
repository. 12 folders will contain release binaries of 12 different projects 
which includes maven, c , c# etc.

I explored and found there is no straightforward way to create an empty folder 
in Artifactory

Can anyone suggest an alternate, using REST API's to create empty folders in 
Artifactory.

Note: I am using PRO version.

Any suggestion and help on this regard is highly appreciated.

Thanks in Advance.

Cheers
Raj




--
View this message in context: 
http://forums.jfrog.org/Create-Empty-Folder-tp7580924.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager 
Applications Manager provides deep performance insights into multiple tiers of 
your business applications. It resolves application problems quickly and 
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to