RE: updated BarracudaDiscRack!

"Christian Cryder" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hey Jake, thanks for getting this working! Can you work with Shawn today to
get BarracudaDiscRack running on the bmvc.org site? I think it should be
relatively simple to do...

Also, we need to move the webapps out from underneath the Tomcat default
webapps directory, and into their own location (this because we need to have
public contrib directories as well)...so perhaps something like this

(root)
/production
    /Barracuda                    (webapp)
    /BarracudaDiscRack      (webapp)
    /contrib
        /dbroggisch               (might contain one or more webapps)
        /christianc
        ...

Of course we will also need to set up the cvs tree to match this...my basic
thinking is that anyone should be able to request (and get) access to their
own personal project space under the contrib directory, and have full access
to this part of the cvs tree. So let's say Joe Somebody requests contrib
space, we'd give him a spot under /var/cvs/contrib/joesomebody, and he will
have full write privileges there, even if he hasn't earned committer rights
on the main trees.

I really don't care about the directory names/structure...so I'm open to
whatever modifications you want to make Shawn. I'd just like to see us

a) get the webapps stuff out from underneath Tomcat
b) start installing webapps using the ant + ccf.xml approach, so that we
don't have to touch the server.xml file
c) allow for public contrib directories (which themselves might have
multiple webapps beneath them (this allows for people to experiment with
different build structures
d) make it easy for people to check out (and build) all contrib packages -
ie. checkout contrib and you get everything beneath it, and maybe we put a
master build.xml file in the contrib directory that will build all the
projects beneath it - we can work out those details)

Thoughts? Denny might be available to help with this as well...

Christian

(ps - we also need to get a downloads directory working...maybe we create a
/production/Downloads webapp, which is not part of cvs, but which has all
the daily / main builds in it. Thoughts?
----------------------------------------------
Christian Cryder [[email protected]]
Internet Architect, ATMReports.com
Barracuda - http://barracudamvc.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"
  -----Original Message-----
  From: [email protected]
[mailto:[email protected]]On Behalf Of Jacob Kjome
  Sent: Thursday, February 06, 2003 1:06 AM
  To: [email protected]
  Subject: Re: [Barracuda] updated BarracudaDiscRack!



  Hi everyone,

  I just wanted to note that Denny Chambers reported that the discrack app
wasn't compiling.   It turned out that it compiled fine with Jikes (which is
what I was using) but not with javac.  So, I guess the moral of the story is
to make sure to check that both compilers work against any code that is to
be checked in.  I've made the change to allow javac to compile.  I tagged
CVS with jrk_20030205.  So, everything should work now.

  here is what I wrote in the comments for the checkin for those who are
curous what the error was....



compile was failing using the "modern" javac
compiler.  I had done all testing with jikes which always
succeeds.  The error was:

compile.project:
    [javac] Compiling 18 source files to
D:\myclasses\repository\enhydra\Barracu
daDiscRack_2003-02-05\BarracudaDiscRack\WEB-INF\classes
    [javac]
D:\myclasses\repository\enhydra\BarracudaDiscRack_2003-02-05\Barracu
daDiscRack\src\org\enhydra\barracuda\discRack\DiscRackGateway.java:40:
package o
rg.enhydra.barracuda.core.util does not exist
    [javac] import org.enhydra.barracuda.core.util.*;
    [javac] ^
    [javac] Note:
D:\myclasses\repository\enhydra\BarracudaDiscRack_2003-02-05\B
arracudaDiscRack\src\org\enhydra\barracuda\discRack\data\disc\DiscDO.java
uses o
r overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for
details.
    [javac] 1 error

I removed the import line:
import org.enhydra.barracuda.core.util.*;

That fixed the error for the javac compiler.  I still don't
understand why because that package does exist but, oh well, it works
now.

Jake




At 06:02 PM 2/3/2003 -0600, you wrote:

    Hi everyone,

    I have updated the BarracudaDiscRack application.  It now compiles
against the latest Barracuda CVS.  Specifically, it compiles against the
Barracuda CVS with the tag "jrk_20030203".  I also tagged BarracudaDiscRack
with that same tag.

    The build now works in a very similar way to Barracuda....only it is
only meant to build one application instead of all the extra stuff that the
Barracuda build has to do.

    One nice thing (among many) about the new build process is the automatic
setup of discRack.conf with the appropriate path to the database.  To
install to Tomcat-4.1.x, just do the following:

    1.  Grab the latest BarracudaDiscRack CVS
    2.  Make sure Tomcat is started and CATALINA_HOME has been set in your
environment.  Make sure xerces-1.4.4-xmlc-2.1.jar exists in
CATALINA_HOME/shared/lib or common/endorsed
    3.  run "ant catalina-install"

    That will build and install BarracudaDiscRack from wherever it is on
your file system.

    So, there you go.  Please report any problems.  I may do some tweaks
later.  The docs have not been updated, but shouldn't be too far off.  I'm
gong to take a break from it for now, so all I will do is make bugfixes to
the build and application as a whole.  Hopefully someone else can take up
modifying the docs.

    Jake

    _______________________________________________
    Barracuda mailing list
    [email protected]
    http://barracudamvc.org/lists/listinfo/barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.