Re: updated BarracudaDiscRack!

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
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.