[Red5devs] [patch 1/1] build target 'clean' should delete red5.jar

Art Clarke aclarke at vlideshow.com
Fri Aug 22 09:50:46 PDT 2008


Actually that works for me; for some strange reason I hadn't thought of "ant
jar".  Given it's not broken for others, I change my vote to "don't break
it" :)

On Fri, Aug 22, 2008 at 9:44 AM, Mondain <mondain at gmail.com> wrote:

> Since Ant 1.7 seems to behave when checking for updated resources I think
> we could do this. Normally I call "ant jar" when I want to skip the clean
> but still get a usable jar.
>
> Paul
>
>
> On Fri, Aug 22, 2008 at 9:39 AM, Art Clarke <aclarke at vlideshow.com> wrote:
>
>> By the way, by default the "dist" target depends on a "clean"?  Any chance
>> we could stop this... it means when you're doing Red5 development you
>> rebuild everything all the time (unless you modify build.xml in place, which
>> I do).
>>
>> I propose that "ant all" should do the clean (which it already does), but
>> "ant dist" should just do a rebuild.  Thoughts?
>>
>> - Art
>>
>>
>> On Fri, Aug 22, 2008 at 9:25 AM, Mondain <mondain at gmail.com> wrote:
>>
>>> Agreed.. Ill add it today
>>>
>>>
>>> On Fri, Aug 22, 2008 at 1:48 AM, TJ <ubuntu at tjworld.net> wrote:
>>>
>>>> Another by-product of creating the Ubuntu package. During a build
>>>> red5.jar is created in the source-directory root. The 'clean' target
>>>> doesn't remove it. Added a 'delete' rule to the 'clean' target.
>>>>
>>>> ---
>>>> --- red5-0.7.1.orig/build.xml   2008-08-21 16:17:00.000000000 +0100
>>>> +++ red5-0.7.1/build.xml        2008-08-22 09:40:16.000000000 +0100
>>>> @@ -171,7 +171,8 @@
>>>>                        <mkdir dir="${testreports.dir}"/>
>>>>        </target>
>>>>
>>>> -       <target name="clean" description="Clean the directories for
>>>> building">
>>>> +       <target name="clean" description="Clean the directories for
>>>> building">
>>>> +               <delete file="${red5.filename}.jar"/>
>>>>                <delete dir="${classes.dir}"/>
>>>>                <delete dir="${dist.dir}"/>
>>>>                <delete dir="${cluster.dir}"/>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>>
>
>
> --
> 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/20080822/cd0bf5cc/attachment-0001.html 


More information about the Red5devs mailing list