[Red5devs] Admin webapp again

Daniel Rossi electroteque at gmail.com
Sun Oct 12 14:32:04 PDT 2008


There seems to be more !!!
6. Locate in the console output after uploading snapshot something
like Destination: /www/red5_snapshots/admin-r3197-java6.war the file of the
new war will be admin-r3197-java6.war.

7. Edit the registry.xml in the snapshots checkout update the webapp entry
with the new filename and commit

ie

<application name="admin">

<author>Martin M, Dan Rossi</author>

<desc>Administration console</desc>

<filename>admin-r3197-java6.war</filename>

</application>

Is that all correct so far ?

On Mon, Oct 13, 2008 at 12:24 AM, Daniel Rossi <electroteque at gmail.com>wrote:

> OK i managed to upload finally here is a quick and nasty step which can be
> added onto
> To add svn
>  1. Go here: http://subclipse.tigris.org/svnant.html
>
> 2. Download SvnAnt
>  ex:
> http://subclipse.tigris.org/files/documents/906/43359/svnant-1.2.0-RC1.zip
>
> 3. Unzip the archive and place the jar files in your Ant lib directory
> ex: C:\dev\ant\lib
>
>                 4. Checkout snapshots directory *https*://
> red5.googlecode.com/svn/snapshots ??
>
>                4. Add these variables to a build.properties file into user
> home directory
>                # Svn url from which to checkout the source
>                svn.url=http://red5.googlecode.com/svn/snapshots/
>                svn.login=youruser
>                svn.password=the google code shared password
>                snapshot.path=/www/red5_snapshots/
>
>              Where snapshot.path is the path to the checked out snapshots
> directory.
>
>            I've added the updated build and properties file in the admin
> example for review let me know if its ok.
>
>
>
>
>
> snapshot.path=/www/red5_snapshots/
>
>
>
>
> On Sun, Oct 12, 2008 at 11:27 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>
>> cheers thats the one i have, it failed complaining there was no such
>> argument as failonerror so had to remove them from the build.xml.
>> So the snapshots directory is a checkout from the svn to the same
>> snapshots path then ? I will have a go at setting the snapshots path as a
>> variable instead that was not clear to begin with :)
>>
>>
>> On Sun, Oct 12, 2008 at 10:50 PM, Mondain <mondain at gmail.com> wrote:
>>
>>> Also there are instructions in the main build.xml <!--
>>> To add svn
>>>  1. Go here: http://subclipse.tigris.org/svnant.html
>>>
>>> 2. Download SvnAnt
>>>  ex:
>>> http://subclipse.tigris.org/files/documents/906/43359/svnant-1.2.0-RC1.zip
>>>
>>> 3. Unzip the archive and place the jar files in your Ant lib directory
>>> ex: C:\dev\ant\lib
>>>  -->
>>>
>>> Paul
>>>
>>> On Sun, Oct 12, 2008 at 12:44 PM, Mondain <mondain at gmail.com> wrote:
>>>
>>>> The idea is to put a "build.properties" file in your home directory
>>>> containing your svn credentials, this will override the props in app
>>>> directories. That url should be changed to the default though (googlecode).The snapshot.path is based on the checkout / svn structure, it could be made
>>>> into a variable but it has to contain .svn structures to work properly.
>>>> Paul
>>>>
>>>>
>>>> On Sun, Oct 12, 2008 at 12:30 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>>>>
>>>>> yeh i see the problem its trying to move to this path, should this be a
>>>>> variable instead of hard coded ?
>>>>>
>>>>> <property name="snapshot.path" value="../../../../snapshots/"/>
>>>>>
>>>>> On Sun, Oct 12, 2008 at 10:28 PM, Daniel Rossi <electroteque at gmail.com
>>>>> > wrote:
>>>>>
>>>>>> I guess they need to change to something like this in the properties
>>>>>> files
>>>>>>
>>>>>> svn.url=http://red5.googlecode.com/svn/snapshots/
>>>>>>
>>>>>> svn.login=user
>>>>>>
>>>>>> svn.password=thepass
>>>>>>
>>>>>> Let me know which version of svnant is suppose to work with the
>>>>>> current build file because the build files need to be changed also otherwise
>>>>>> to remove the "failonerror"
>>>>>>
>>>>>> On Sun, Oct 12, 2008 at 10:23 PM, Daniel Rossi <
>>>>>> electroteque at gmail.com> wrote:
>>>>>>
>>>>>>> I guess this has changed also, where is it going now
>>>>>>>
>>>>>>> svn.url=http://svn1.cvsdude.com/osflash/red5/
>>>>>>>
>>>>>>> svn.login=
>>>>>>>
>>>>>>> svn.password=
>>>>>>>
>>>>>>> On Sun, Oct 12, 2008 at 10:21 PM, Daniel Rossi <
>>>>>>> electroteque at gmail.com> wrote:
>>>>>>>
>>>>>>>> It is related to doing stuff for red5. A howto would be nice i
>>>>>>>> figured it out now so will start setting one up next week !
>>>>>>>>
>>>>>>>> On Sun, Oct 12, 2008 at 10:00 PM, Thijs Triemstra | Collab <
>>>>>>>> lists at collab.nl> wrote:
>>>>>>>>
>>>>>>>>> Yeah this is a Ant 101 thing, not related to Red5.
>>>>>>>>> Thijs
>>>>>>>>>
>>>>>>>>> On 12 okt 2008, at 19:54, Mondain wrote:
>>>>>>>>>
>>>>>>>>> It needs to be in your ANT_HOME/lib or in the classpath.
>>>>>>>>>
>>>>>>>>> Paul
>>>>>>>>>
>>>>>>>>> On Sun, Oct 12, 2008 at 11:28 AM, Daniel Rossi <
>>>>>>>>> electroteque at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> I found this, but it wont let me locate svnant, it seems to me the
>>>>>>>>>> jar has to be in the root of every build file maybe its better if its on the
>>>>>>>>>> root path of all the example builds using it ?
>>>>>>>>>> <target name="upload-snapshot" depends="war">
>>>>>>>>>>  <typedef resource="org/tigris/subversion/svnant/svnantlib.xml"
>>>>>>>>>> classpath="svnant.jar" />
>>>>>>>>>>
>>>>>>>>>>  I put svnant.jar in the admin directory but still get this
>>>>>>>>>>
>>>>>>>>>>  pload-snapshot:
>>>>>>>>>>   [typedef] Could not load definitions from resource
>>>>>>>>>> org/tigris/subversion/svnant/svnantlib.xml. It could not be found.
>>>>>>>>>>
>>>>>>>>>> BUILD FAILED
>>>>>>>>>>  /Volumes/Henry/www/red5_examples/admin/build.xml:103: Problem:
>>>>>>>>>> failed to create task or type svn
>>>>>>>>>>  Cause: The name is undefined.
>>>>>>>>>>  Action: Check the spelling.
>>>>>>>>>>  Action: Check that any custom tasks/types have been declared.
>>>>>>>>>>  Action: Check that any <presetdef>/<macrodef> declarations have
>>>>>>>>>> taken place.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Red5devs mailing list
>>>>>>>>>> Red5devs at osflash.org
>>>>>>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> http://gregoire.org/
>>>>>>>>> http://osflash.org/red5
>>>>>>>>>  _______________________________________________
>>>>>>>>> Red5devs mailing list
>>>>>>>>> Red5devs at osflash.org
>>>>>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Red5devs mailing list
>>>>>>>>> Red5devs at osflash.org
>>>>>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Red5devs mailing list
>>>>> Red5devs at osflash.org
>>>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> http://gregoire.org/
>>>> http://osflash.org/red5
>>>>
>>>
>>>
>>>
>>> --
>>> http://gregoire.org/
>>> http://osflash.org/red5
>>>
>>> _______________________________________________
>>> Red5devs mailing list
>>> Red5devs at osflash.org
>>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20081013/76024556/attachment.html 


More information about the Red5devs mailing list