EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CAJ usage
From: "J. Lewis Muir" <[email protected]>
To: [email protected]
Date: Tue, 08 May 2007 15:25:02 -0400
David Dudley wrote:
I'm trying to configure and use the CAJ library, since I can't be sure
what kind of machine the application will be used on.  It can almost be
guaranteed that whatever machine it is, it won't have EPICS on it, for
sure.

I downloaded caj-1.1.3-src and caj-1.1.3.tar, and am attempting to
figure out how to use it.

From the caj-1.1.3 source directory, I can't get ant to operate without
giving pages and pages of errors.  It looks for package 'gov.aps.jca',
but shows that package does not exist.

Still working on getting use to java, I've been a 'c' programmer for
around 20 years or so.
All I did was go go to the source directory and type 'ant'.  Was there
something else I was supposed to do as well?

David

Hi, David.


CAJ requires JCA. Have you built JCA yet?

When I built CAJ, I had to edit the build.xml file to tell it where my JCA library was. In the part that looks like this

        <path id="build.classpath">
                <pathelement location="../jca-2.3.0.jar"/>
        </path>

I replaced "../jca-2.3.0.jar" with the path to my JCA jar file.

Then I was able to do

$ ant clean
$ ant

The caj.jar file is created at "target/caj.jar".

-lewis

--
J. Lewis Muir
Software Engineer
CARS/IMCA-CAT

References:
Re: CAJ usage David Dudley

Navigate by Date:
Prev: Re: CAJ usage Kay-Uwe Kasemir
Next: Re: CAJ usage David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CAJ usage David Dudley
Next: WebCA compiling issues Doug Sheffer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·