From: buters <fra...@ma...> - 2008-06-29 20:09:07
|
Thank you very much, Yoav. Yoav Landman wrote: > > Your cron expression is probably not what you meant. Please see this for > reference: > http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.html > P.S. If you have a very large repository don't set the index to run too > frequently. > > On Sun, Jun 29, 2008 at 8:41 PM, buters <fra...@ma...> wrote: > >> >> Wow, thank you very much Yoav, >> >> now it works so how I want... local. Next Step per Inet. >> My Artifactory runs with Tomcat and Tomcat runs as service with Apache >> HTTP >> server. In my network I can access Artifactory with each computer per >> http://myhost:8080/artifactory. Per Inet I can response my server with >> https://myVirtHost plus input of username&password. How can I access >> Artifactory? >> >> Another question: >> <cronExp>0 0/30 * * * ?</cronExp> >> where is here time? Which values are valid? I set 0/0.02 instead of 0/30, >> but it is still slow. >> >> Thank you beforehand, >> regards, buters >> >> >> Yoav Landman wrote: >> > >> > I am guessing you are not logged in? Artifactory 1.3 has anonymous >> > browsing >> > on by default, so unless you log in, you are using the web UI as >> anonymous >> > and will not get all the secured options. >> > >> > As for the index, by default it is regenerated every 1 hour. You can >> > change >> > this by specifying a different cron expression for the frequency under >> the >> > indexer element in artifactory config.xml: >> > <indexer> >> > <cronExp>0 0/30 * * * ?</cronExp> >> > </indexer> >> > >> > On Sun, Jun 29, 2008 at 5:46 PM, buters <fra...@ma...> wrote: >> > >> >> >> >> Thank you ver much freddy, >> >> >> >> but I don't quite understand it. >> >> All I want to do is to deploy an artifact by means web UI. With >> >> Artifactory >> >> 1.2 it was no Problem. >> >> Deploy Artifacts -> upload -> deploy and it is already therein. With >> >> Artefactory 1.3 it doesn't work. >> >> I get an error: "Not enough permissions to deploy artifact ...". Why? >> How >> >> can I allow this? And why have I no access to security user, >> >> export&import >> >> and configuration? >> >> >> >> Thank you beforehand, >> >> regards, buters >> >> >> >> >> >> >> >> freddy33 wrote: >> >> > >> >> > Be careful, when doing the migration with "artifactoryExport" the >> local >> >> > repositories are renamed with a suffix "-local" (see the release >> notes >> >> > >> >> >> http://sourceforge.net/project/shownotes.php?group_id=175347&release_id=607409in >> >> > the important notes part 4), and the old name for local repo are use >> >> > as >> >> > virtual repo name. >> >> > >> >> > This was done to respect backward compatibility on read (through >> well >> >> > managed virtual repositories), but breaks compatibility on write >> (the >> >> > distribution management url conf). >> >> > If this is what you did (run artifactoryExport) and you see the >> local >> >> repo >> >> > with "-local" please update all your distributionManagement URL tags >> in >> >> > the >> >> > POM file to have "-local" at the end. >> >> > The other option is to re-run artifactoryExport with --noconvert to >> >> remove >> >> > the automatic convertion, and make sure that all your mirrorOf, >> central >> >> > and >> >> > snapshot URL points to implicit virtual repository "/repo", or to >> some >> >> new >> >> > virtual repository you'll create. >> >> > >> >> > The main concept here is that it is really powerful, clean and easy >> to >> >> > manage, when all read access to Artifactory are done through virtual >> >> > repositories. Please check the default config where we provide a >> >> standard >> >> > good usage of this. >> >> > >> >> > Hope it helps, >> >> > Fred. >> >> > >> >> > On Sun, Jun 29, 2008 at 3:25 PM, buters <fra...@ma...> wrote: >> >> > >> >> >> >> >> >> Thank you Yoav, very much. >> >> >> >> >> >> I try to use artifactory 1.3. But now I have a new Problem. I can >> not >> >> >> upload >> >> >> my artifact into local artifactory repository. It say me "Not >> enough >> >> >> permissions to deploy artifact". How can I solve that? >> >> >> >> >> >> Thank you beforehand, >> >> >> regards, buters >> >> >> >> >> >> >> >> >> >> >> >> Yoav Landman wrote: >> >> >> > >> >> >> > I see. M2eclipse automatically downloads special indexes (aka >> nexus >> >> >> > indexes) >> >> >> > from remote repositories to search for artifacts on those >> >> repositories. >> >> >> > The latest Artifactory 1.3.0 betas already support this index >> >> format, >> >> >> so >> >> >> > you >> >> >> > can add and point m2eclipse at any local or remote Artifactory >> >> >> repository >> >> >> > to >> >> >> > include its content is your dependency search (see: >> >> >> > http://docs.codehaus.org/display/M2ECLIPSE/Maven+Indexes+view). >> >> >> > >> >> >> > On Sat, Jun 28, 2008 at 11:26 PM, buters <fra...@ma...> >> wrote: >> >> >> > >> >> >> >> >> >> >> >> Thank you very much Yoav for your reply. >> >> >> >> >> >> >> >> I've probably expressed me wrong. >> >> >> >> For example: I want add dependency in eclipse with m2eclipse. I >> can >> >> >> only >> >> >> >> find all artefacts of local and remote Maven repositories. >> >> >> >> Can I configurate setting.xml or pom.xml so, that I can find >> >> artefacts >> >> >> of >> >> >> >> Artefactory with eclipse too, i.e. all schould automatically >> work, >> >> >> >> without >> >> >> >> the developer manual access (as download)? >> >> >> >> >> >> >> >> Thank you beforehand, >> >> >> >> regards, buters >> >> >> >> >> >> >> >> >> >> >> >> Yoav Landman wrote: >> >> >> >> > >> >> >> >> > For #2, you can either download the artifact from the UI by >> >> browsing >> >> >> >> for >> >> >> >> > it/searching it and clicking its download link, or by using >> its >> >> >> direct >> >> >> >> URL >> >> >> >> > (e.g. >> >> >> >> > >> >> >> >> >> >> >> >> >> >> http://localhost:8081/libs-releases/org/apache/struts/struts-core/1.3.9/struts-core-1.3.9.jar >> >> >> >> ). >> >> >> >> > If you run backups you can also pick it up from the backup >> >> >> directory. >> >> >> >> > >> >> >> >> > HTH, >> >> >> >> > >> >> >> >> > Yoav >> >> >> >> > >> >> >> >> > On Sat, Jun 28, 2008 at 8:27 PM, buters <fra...@ma...> >> >> wrote: >> >> >> >> > >> >> >> >> >> >> >> >> >> >> Hi, >> >> >> >> >> >> >> >> >> >> I use Maven2eclipse plugin in Eclipse. >> >> >> >> >> >> >> >> >> >> 1. How can I change my settings, that my artefact will be >> >> installed >> >> >> to >> >> >> >> >> "internal" repository of Artefactory just with eclipse, i.e. >> >> >> without >> >> >> >> both >> >> >> >> >> console command mvn deploy:deploy-file and web UI of >> >> Artifactory? >> >> >> >> >> >> >> >> >> >> 2. I've uploaded my artefact with web UI to "internal" >> >> repository >> >> >> (in >> >> >> >> >> Artefactory). How can I access it without explicit repository >> >> >> export >> >> >> >> into >> >> >> >> >> my >> >> >> >> >> local repository? >> >> >> >> >> >> >> >> >> >> Thank you very much beforehand, >> >> >> >> >> Best regards, >> >> >> >> >> buters >> >> > >> >> > >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Internal-Artefactorys-repository-tp18173033p18181600.html >> >> Sent from the Artifactory-Users mailing list archive at Nabble.com. >> >> >> >> >> >> >> ------------------------------------------------------------------------- >> >> Check out the new SourceForge.net Marketplace. >> >> It's the best place to buy or sell services for >> >> just about anything Open Source. >> >> http://sourceforge.net/services/buy/index.php >> >> _______________________________________________ >> >> Artifactory-users mailing list >> >> Art...@li... >> >> https://lists.sourceforge.net/lists/listinfo/artifactory-users >> >> >> > >> > >> ------------------------------------------------------------------------- >> > Check out the new SourceForge.net Marketplace. >> > It's the best place to buy or sell services for >> > just about anything Open Source. >> > http://sourceforge.net/services/buy/index.php >> > _______________________________________________ >> > Artifactory-users mailing list >> > Art...@li... >> > https://lists.sourceforge.net/lists/listinfo/artifactory-users >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Internal-Artefactorys-repository-tp18173033p18183407.html >> Sent from the Artifactory-Users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Artifactory-users mailing list >> Art...@li... >> https://lists.sourceforge.net/lists/listinfo/artifactory-users >> > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Artifactory-users mailing list > Art...@li... > https://lists.sourceforge.net/lists/listinfo/artifactory-users > > -- View this message in context: http://www.nabble.com/Internal-Artefactorys-repository-tp18173033p18184844.html Sent from the Artifactory-Users mailing list archive at Nabble.com. |