OK,
Am now able to build war file.
Now all I have to do is go back into the build file and add in
my custom apps so they will build. : )
I am just wondering if I am going to have to run ant all first
before I can run ant webwar to make sure I get the latest
dependencies?
Lenny
On 6/28/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:
Hey Dan,
I just tried building using ant and man I am getting a boatload of stuff
(jar, etc).
I am just wondering if I have to run ant first and then ant webar in order
now to build
J2EE War build?
Anyway, retrieving stuff looks good!!!
I am guessing it will fire off a build after all the stuff (jars, etc) the
build wants is downloaded.
Basically all I am seeing now is [ivy:retrieve]
Lenny
On 6/28/07, Dan Rossi <[EMAIL PROTECTED]> wrote:
>
> Have you tried simply ant jar ? I'm sorry im not there yet building the
> war version because i have to work out how to dynamically add my own
> apps into the build aswell, maybe via a build file that includes the
> default one. I'm sick of having to keep adding mine back into the build
> file after each svn update with a change breaks the xml.
>
> Another problem I face now, is that there is a new method added to the
> filename generator interface so it broke all mine ..
>
> FileNameGenerator is not abstract and does not override abstract method
> resolvesToAbsolutePath() in
> org.red5.server.api.stream.IStreamFilenameGenerator
> [javac] public class FileNameGenerator implements
> IStreamFilenameGenerator {
> [javac]
>
> Lenny Sorey wrote:
> > Hey, that is good news for you, but I am still dead in the water with
> > ant webwar command line build. : (
> >
> > Regards,
> >
> > Lenny
> >
> >
> > On 6/28/07, *Dan Rossi* <[EMAIL PROTECTED]
> > <mailto: [EMAIL PROTECTED]>> wrote:
> >
> > Odd mine started working but only via ant.
> >
> > Lenny Sorey wrote:
> > > I use command line build for RED5 since I don't use Eclipse
> > > as my IDE.
> > >
> > > Guess I better look back in the build.xml and teh ivy's config
> xml's
> > > to see if I
> > > need to reference anything.
> > >
> > > I do see a reference to following in ivyconfig.xml:
> > >
> > > <url name="googlecode">
> > > <artifact
> > >
> > pattern="
>
http://red5.googlecode.com/svn/trunk/repository/[artifact].[ext<http://red5.googlecode.com/svn/trunk/repository/%5Bartifact%5D.%5Bext>
> > <http://red5.googlecode.com/svn/trunk/repository/%5Bartifact%5D.%5Bext
> >
> > >
> > <http://red5.googlecode.com/svn/trunk/repository/%5Bartifact%5D.%5Bext
> >]"
> > > />
> > > <artifact
> > >
> >
pattern="http://red5.googlecode.com/svn/trunk/repository/[artifact]-[revision].[ext
>
>
<http://red5.googlecode.com/svn/trunk/repository/%5Bartifact%5D-%5Brevision%5D.%5Bext>
> > <
>
http://red5.googlecode.com/svn/trunk/repository/%5Bartifact%5D-%5Brevision%5D.%5Bext
> >
> > > <
> >
>
http://red5.googlecode.com/svn/trunk/repository/%5Bartifact%5D-%5Brevision%5D.%5Bext
> >]"
> > > />
> > > <artifact
> > > pattern="
> >
http://red5.googlecode.com/svn/trunk/repository/[organisation]/[artifact].[ext
>
>
<http://red5.googlecode.com/svn/trunk/repository/%5Borganisation%5D/%5Bartifact%5D.%5Bext>
> > <
>
http://red5.googlecode.com/svn/trunk/repository/%5Borganisation%5D/%5Bartifact%5D.%5Bext
> >
> > >
> > <
>
http://red5.googlecode.com/svn/trunk/repository/%5Borganisation%5D/%5Bartifact%5D.%5Bext
> > <
>
http://red5.googlecode.com/svn/trunk/repository/%5Borganisation%5D/%5Bartifact%5D.%5Bext
> >>]"
> > > />
> > > <artifact
> > >
> >
pattern="http://red5.googlecode.com/svn/trunk/repository/[organisation]/[artifact]-[revision].[ext
>
>
<http://red5.googlecode.com/svn/trunk/repository/%5Borganisation%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext>
> >
<http://red5.googlecode.com/svn/trunk/repository/%5Borganisation%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext
> >
> > >
> >
<http://red5.googlecode.com/svn/trunk/repository/%5Borganisation%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext
>
> >
<http://red5.googlecode.com/svn/trunk/repository/%5Borganisation%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext
> >>]"
> > > />
> > > </url>
> > >
> > > But nothing seems to pull from this url.
> > >
> > > Lenny
> > >
> > >
> > > On 6/28/07, *Dan Rossi* < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> > > <mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>
> > wrote:
> > >
> > > Its busted in eclipse even with this so called ivy ide
> > plugin which i
> > > cant seem to find active in eclipse. Try ant jar with the
> > updated
> > > build
> > > file.
> > >
> > > Dan Rossi wrote:
> > > > Id make sure you updated the build.xml file aswell it has
> bits
> > > in the
> > > > compile tasks for some new ivy dependancy system. I think
> an
> > > explanation
> > > > on how to build via command line and eclipse is at hand.
> > Ive just
> > > > refreshed my project after removing .classpath and
> rebuilding
> > > the lib
> > > > path because svn keeps overwriting my change, I've got a
> > heap of
> > > errors
> > > >
> > > > Ie.
> > > >
> > > > Severity and
> > > Description Path Resource Location Creation
> > > > Time Id
> > > > _context cannot be
> > resolved red5_server/src/org/red5/server/jetty
> > > > Red5WebPropertiesConfiguration.java line
> > > 71 1183033837330 199903
> > > >
> > > > There is nothing left in lib yes.
> > > >
> > > > Lenny Sorey wrote:
> > > >
> > > >> I see that my entire LIB is empty except ivy-1.4.1.jar
> > > >>
> > > >> Lenny
> > > >>
> > > >>
> > > >> On 6/28/07, *Lenny Sorey* < [EMAIL PROTECTED]
> > <mailto: [EMAIL PROTECTED]>
> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> > > >> <mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]>>>> wrote:
> > > >>
> > > >> Hello all,
> > > >>
> > > >> I use SmartSVN to retrieve from RED5 trunk.
> > > >>
> > > >> I updated this morning and started to compiled the
> > war version
> > > >> with ANT webwar:
> > > >>
> > > >> err, What happened?
> > > >>
> > > >> Lenny
> > > >>
> > > >>
> > > >>
> > > >> The following is what I got:
> > > >>
> > > >>
> > > >> D:\red5>ant webwar
> > > >> Buildfile: build.xml
> > > >> [echo] java.home is D:\java\jdk16\jre and the
> target
> > > version
> > > >> is 1.6
> > > >>
> > > >> clean:
> > > >> [delete] Deleting directory D:\red5\bin
> > > >>
> > > >> compile_war:
> > > >> [echo] Javac version: 1.6
> > > >> [echo] Compiler adapter name: modern
> > > >> [mkdir] Created dir: D:\red5\bin\WEB-INF\classes
> > > >> [javac] Compiling 404 source files to
> > > D:\red5\bin\WEB-INF\classes
> > > >> [javac]
> D:\red5\src\org\red5\io\ITagWriter.java:24:
> > > package
> > > >> org.apache.mina.
> > > >> common does not exist
> > > >> [javac] import org.apache.mina.common.ByteBuffer;
> > > >> [javac] ^
> > > >> [javac] D:\red5\src\org\red5\io\ITag.java:22:
> package
> > > >> org.apache.mina.common
> > > >> does not exist
> > > >> [javac] import org.apache.mina.common.ByteBuffer;
> > > >> [javac] ^
> > > >> [javac]
> > D:\red5\src\org\red5\io\ITagWriter.java:76: cannot
> > > >> find symbol
> > > >> [javac] symbol : class ByteBuffer
> > > >> [javac] location: interface
> org.red5.io.ITagWriter
> > > >> [javac] public boolean writeTag(byte type,
> > ByteBuffer
> > > >> data) throws IOExc
> > > >> eption;
> > > >> [javac] ^
> > > >> [javac] D:\red5\src\org\red5\io\ITag.java:38:
> cannot
> > > find symbol
> > > >> [javac] symbol : class ByteBuffer
> > > >> [javac] location: interface org.red5.io.ITag
> > > >> [javac] public ByteBuffer getBody();
> > > >> [javac] ^
> > > >> [javac] D:\red5\src\org\red5\io\ITag.java:66:
> cannot
> > > find symbol
> > > >> [javac] symbol : class ByteBuffer
> > > >> [javac] location: interface org.red5.io.ITag
> > > >> [javac] public ByteBuffer getData();
> > > >> [javac] ^
> > > >> [javac] D:\red5\src\org\red5\io\ITag.java:79:
> cannot
> > > find symbol
> > > >> [javac] symbol : class ByteBuffer
> > > >> [javac] location: interface org.red5.io.ITag
> > > >> [javac] public void setBody(ByteBuffer body);
>
> > > >> [javac] ^
> > > >> [javac]
> > > D:\red5\src\org\red5\io\FileKeyFrameMetaCache.java:35:
> > > >> package org.a
> > > >> pache.commons.logging does not exist
> > > >> [javac] import org.apache.commons.logging.Log ;
> > > >> [javac] ^
> > > >> [javac]
> > > D:\red5\src\org\red5\io\FileKeyFrameMetaCache.java:36:
> > > >> package org.a
> > > >> pache.commons.logging does not exist
> > > >> [javac] import
> > org.apache.commons.logging.LogFactory ;
> > > >> [javac] ^
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > >
> >
> ------------------------------------------------------------------------
> > > >>
> > > >> _______________________________________________
> > > >> Red5 mailing list
> > > >> [email protected] <mailto:[email protected]>
> > <mailto:[email protected] <mailto:[email protected] >>
> > > >> http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >>
> > > >>
> > > >
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > [email protected] <mailto:[email protected]>
> > <mailto:[email protected] <mailto:[email protected] >>
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > Red5 mailing list
> > > [email protected] <mailto: [email protected]>
> > <mailto:[email protected] <mailto:[email protected]>>
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Red5 mailing list
> > > [email protected] <mailto:[email protected]>
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected] <mailto:[email protected]>
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org