From: Edwin C. <com...@gm...> - 2010-04-30 14:54:25
|
hi Andrew, Do I understand it well that it is necessary for distribution management that the snapshots are available via ftp / scp? Currently the latest snapshot is available in a folder on the website over http. All GWT-OL developers have the rights to do acces the web environment hosted by SF. Just use your own SF account and follow the instructions here: https://sourceforge.net/apps/trac/sourceforge/wiki/Project%20web (see also the developer docs for this link) If a snapshot has to be available over ftp/scp for the outside world then we need to evaluate the options. As far as I know the released files are only avaiable via the web (the SF download site or a link to it) and not via ftp/scp for the outside world, but maybe someone knows more. Any suggestions are welcome... Greetings, Edwin On 30 April 2010 02:57, Andrew Hughes <ahh...@gm...> wrote: > Heya, > Can I suggest we add some <distrobutionManagement> to the pom.xml? Then we > can deploy snapshot builds directly from maven, we can also deploy a release > and consuming project's and repository managers can consume them via a > <repository> in their pom's? > This is probably about 5mins work if you want me to do it, but I will need a > user/pass and scp or ftp url (scp would be preferred). > Cheers > --AH > > On Fri, Apr 30, 2010 at 5:25 AM, Edwin Commandeur > <com...@gm...> wrote: >> >> Hi Andrew, >> >> Right now it's pretty primitive and I upload them by hand :(... >> >> That is via scp/ ftp see the dev manual about GWT-OL website, which >> links to SF documentation. >> >> Greetings, >> Edwin >> >> On 29 April 2010 16:16, Andrew Hughes <ahh...@gm...> wrote: >> > Hey, how do you deploy to /latest ? is that via scp / ftp / manual >> > upload ? >> > What do sf offer in terms of maven snapshot deploy locations? >> > Cheers :) >> > >> > On Fri, Apr 23, 2010 at 7:28 AM, Edwin Commandeur >> > <com...@gm...> wrote: >> >> >> >> Hi John, >> >> >> >> Check the Layer.addOptions method in the latest source: >> >> >> >> >> >> >> >> http://gwt-openlayers.sourceforge.net/latest/openlayers_gwt-0.5-SNAPSHOT.jar >> >> >> >> Greetings, >> >> Edwin >> >> >> >> On 20 April 2010 15:59, Jon Britton <jon...@go...> wrote: >> >> > Hi, >> >> > Currently the Layer.addOptions(..) method is not available in >> >> > gwt-openlayers. I've created a ticket for this, but would really >> >> > appreciate >> >> > any updates regarding this issue. >> >> > Thanks! >> >> > Jon >> >> > >> >> > >> >> > ------------------------------------------------------------------------------ >> >> > Download Intel® Parallel Studio Eval >> >> > Try the new software tools for yourself. Speed compiling, find bugs >> >> > proactively, and fine-tune applications for parallel performance. >> >> > See why Intel Parallel Studio got high marks during beta. >> >> > http://p.sf.net/sfu/intel-sw-dev >> >> > _______________________________________________ >> >> > Gwt-openlayers-users mailing list >> >> > Gwt...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >> >> > >> >> > >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> >> Gwt-openlayers-users mailing list >> >> Gwt...@li... >> >> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >> > >> > > > |
From: Edwin C. <com...@gm...> - 2010-04-30 18:33:38
|
Hi Andrew, silly of me indeed :)... I get it now. As long as each developer stores his or her username/password in the local settings.xml that should work! The example fragment could be included in a comment for copying/pasting into settings.xml. Very nice way of putting maven to work. We need to test it, but it seems like a great addition to the project. Have a nice weekend! Greetings, Edwin P.S. I have been working a bit on the proxy, but haven't checked anything in yet. It seemed the current copy/paste code (which is quite an ugly piece of code) failed because it did not pass the Content-Length header. See the HTTP 1/1 spec: The presence of a message-body in a request is signaled by the inclusion of a Content-Length or Transfer-Encoding header field in the request's message-headers. and For compatibility with HTTP/1.0 applications, HTTP/1.1 requests containing a message-body MUST include a valid Content-Length header field unless the server is known to be HTTP/1.1 compliant. On 30 April 2010 18:28, Andrew Hughes <ahh...@gm...> wrote: > looks like it might need to add the following to the pom.xml, does > 'frs.sourceforge.net:/home/frs/project/o/op/openlayers_gwt' look right to > you? > > <distributionManagement> > <repository> > <id>openlayers_gwt</id> > > <name>OpenLayers GWT Sourceforge Releases</name> > > <url>scp://frs.sourceforge.net:/home/frs/project/o/op/openlayers_gwt/maven/releases</url> > </repository> > <snapshotRepository> > <id>openlayers_gwt</id> > > <name>OpenLayers GWT Sourceforge Snapshots</name> > > > <url>scp://frs.sourceforge.net:/home/frs/project/o/op/openlayers_gwt/maven/snapshots</url> > <layout>legacy</layout> > </snapshotRepository> > > <site> > > <id>openlayers_gwt</id> > > <name>OpenLayers GWT Sourceforge Sites</name> > > > <url>scp://frs.sourceforge.net:/home/frs/project/o/op/openlayers_gwt/maven/sites</url> > > </site> > > </distributionManagement> > > You will also need to add your sf username and password to your > ~/.m2/settings.xml (using . > <?xml version="1.0" encoding="UTF-8"?> > <settings> > <servers> > <server> > <id>openlayers_gwt</id> > <username>ecommand,openlayers_gwt</username> > <password>myvoiceismypassword</password> > </server> > </servers> > </settings> > I haven't tested yet... but that should do everything from snapshots, > releases, repository hosting and site deployment (like javadoc's e.t.c). > :) > > On Sat, May 1, 2010 at 1:42 AM, Andrew Hughes <ahh...@gm...> wrote: >> >> Howdy :) >> >> On Sat, May 1, 2010 at 12:24 AM, Edwin Commandeur >> <com...@gm...> wrote: >>> >>> hi Andrew, >>> >>> Do I understand it well that it is necessary for distribution >>> management that the snapshots are available via ftp / scp? Currently >>> the latest snapshot is available in a folder on the website over http. >> >> Now that would be silly :) Maven only needs ftp / scp to perform the >> deploy (i.e. publish/write). Maven (or ant+ivy) projects can then fetch the >> dependency via http. Edwin uploads via ftp or scp but he download via http - >> maven will do the same. It's good todo maven snapshot deploys as it manages >> the complicated nature of snapshot versioning - even snapshots have >> versioning. Also, it takes about 1min to setup providing you know the scp:// >> url. >> >>> >>> All GWT-OL developers have the rights to do acces the web environment >>> hosted by SF. Just use your own SF account and follow the instructions >>> here: https://sourceforge.net/apps/trac/sourceforge/wiki/Project%20web >>> (see also the developer docs for this link) >>> >>> If a snapshot has to be available over ftp/scp for the outside world >>> then we need to evaluate the options. As far as I know the released >>> files are only avaiable via the web (the SF download site or a link to >>> it) and not via ftp/scp for the outside world, but maybe someone knows >>> more. Any suggestions are welcome... >>> >> >> I suggest you have a good weekend! :) >> >>> >>> Greetings, >>> Edwin >>> >>> On 30 April 2010 02:57, Andrew Hughes <ahh...@gm...> wrote: >>> > Heya, >>> > Can I suggest we add some <distrobutionManagement> to the pom.xml? Then >>> > we >>> > can deploy snapshot builds directly from maven, we can also deploy a >>> > release >>> > and consuming project's and repository managers can consume them via a >>> > <repository> in their pom's? >>> > This is probably about 5mins work if you want me to do it, but I will >>> > need a >>> > user/pass and scp or ftp url (scp would be preferred). >>> > Cheers >>> > --AH >>> > >>> > On Fri, Apr 30, 2010 at 5:25 AM, Edwin Commandeur >>> > <com...@gm...> wrote: >>> >> >>> >> Hi Andrew, >>> >> >>> >> Right now it's pretty primitive and I upload them by hand :(... >>> >> >>> >> That is via scp/ ftp see the dev manual about GWT-OL website, which >>> >> links to SF documentation. >>> >> >>> >> Greetings, >>> >> Edwin >>> >> >>> >> On 29 April 2010 16:16, Andrew Hughes <ahh...@gm...> wrote: >>> >> > Hey, how do you deploy to /latest ? is that via scp / ftp / manual >>> >> > upload ? >>> >> > What do sf offer in terms of maven snapshot deploy locations? >>> >> > Cheers :) >>> >> > >>> >> > On Fri, Apr 23, 2010 at 7:28 AM, Edwin Commandeur >>> >> > <com...@gm...> wrote: >>> >> >> >>> >> >> Hi John, >>> >> >> >>> >> >> Check the Layer.addOptions method in the latest source: >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> http://gwt-openlayers.sourceforge.net/latest/openlayers_gwt-0.5-SNAPSHOT.jar >>> >> >> >>> >> >> Greetings, >>> >> >> Edwin >>> >> >> >>> >> >> On 20 April 2010 15:59, Jon Britton <jon...@go...> >>> >> >> wrote: >>> >> >> > Hi, >>> >> >> > Currently the Layer.addOptions(..) method is not available in >>> >> >> > gwt-openlayers. I've created a ticket for this, but would really >>> >> >> > appreciate >>> >> >> > any updates regarding this issue. >>> >> >> > Thanks! >>> >> >> > Jon >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > ------------------------------------------------------------------------------ >>> >> >> > Download Intel® Parallel Studio Eval >>> >> >> > Try the new software tools for yourself. Speed compiling, find >>> >> >> > bugs >>> >> >> > proactively, and fine-tune applications for parallel performance. >>> >> >> > See why Intel Parallel Studio got high marks during beta. >>> >> >> > http://p.sf.net/sfu/intel-sw-dev >>> >> >> > _______________________________________________ >>> >> >> > Gwt-openlayers-users mailing list >>> >> >> > Gwt...@li... >>> >> >> > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >>> >> >> > >>> >> >> > >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> ------------------------------------------------------------------------------ >>> >> >> _______________________________________________ >>> >> >> Gwt-openlayers-users mailing list >>> >> >> Gwt...@li... >>> >> >> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >>> >> > >>> >> > >>> > >>> > >> > > |