Re: [Hypercontent-users] All about base-url
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2007-02-27 23:37:08
|
Hi, In my project definition I have defined the build base-url. In my build.xml both build and buildAll got the href variable which points to a internal html variable. That works fine But in my view-built I defined my redirect url as follows ${abs-project-base}/build/ I assumed this would go to the base-url defined in my project definition, but that is not the case it gives the You are not authorized to access http://localhost/hypercontent/sample/build/ This is the reason I asked how can I retrieve the base-url which I defined in the project definition. Due to these reason now I am going to hard code the url in build.xml. My objective is how best can I parameterize these urls as these might vary based on the test and production enviornment, (e.g put it to a build.property file and replace via ant scripts) I did lot of parameterization in the bootstrap project, but cant think of a way how can I do it to a specific project. Thanks, --- Alex Vigdor <al...@bi...> wrote: > Hi, > Pointing the browser to "/build/" should redirect > to your base-url > in the project definition, is it not? You can can > always specify the > absolute URL in the view-built redirect. > > Alex > > On Feb 26, 2007, at 1:02 AM, tom tom wrote: > > > Hi, > > > > In my project definition under the section build I > > gave a seperate base-url as my contents will be > served > > by apache, this is under build section > > > > How can retrieve and redirect to that url in the > > > > view-built event in the build.xml currently it got > the > > following > > > > <event name="view-built" permissions="read"> > > <redirect location="/build/"/> > > </event> > > > > > > > > > > > > > > > > > ______________________________________________________________________ > > > ______________ > > 8:00? 8:25? 8:40? Find a flick in no time > > with the Yahoo! Search movie showtime shortcut. > > http://tools.search.yahoo.com/shortcuts/#news > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |