EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Is RULES_JAVA broken?
From: Nerses Gevorgyan <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Tue, 16 Sep 2014 18:34:38 -0400
Hi Andrew,

I fixed as suggested by Janet and it worked.

JAR_PACKAGES = org.jlab.AutoLogEntry
instead of JAR_INPUT = ...


But, the problem of organization of java applications still remains.
Yes, at least in my case there are no applications to use CA or some other library from EPICS. And, I would bet most of people will create Java applications those would not require to be strictly coupled to EPICS via linking to libca.so for example.

But, it would be nice to have some way of organization of java applications.
For example $(TOP)/javalib to store all jar and class files seems good idea. Then some simple script could easily locate the jar/class files and execute java command without specifying tons of jar files spread over different places. Also would be nice to have makeJavaApp.pl for setting up the initial things.

So, RULES_JAVA is going to removed. That's ok. Maven or ant... that's fine too.

Is there any recommended scheme for integrating "IDE - development - version control - building - EPICS directory structure - execution" into something coherent?

Thanks a lot,
Nerses



09/16/14 04:57 -ում, Andrew Johnson-ը գրել է:
Hi Nerses,

On 09/16/2014 12:58 PM, Nerses Gevorgyan wrote:
Let me ask this way: Is RULES_JAVA supported? Is there any better solution?
What is "standard" build mechanism for EPICS Java application?
RULES_JAVA was written before the more modern Java build tools such as
Maven came along, and our understanding of how Java code is supposed to
be structured may have been mistaken. Janet Anderson who maintains the
build system has been looking into your question and will reply
privately with a suggestion related to using a fully-qualified package
name, but I think Lewis' suggestion that you use another build tool
makes the most sense at this point.

We had already removed RULES_JAVA from the 3.15 version of Base and we
don't know of any of the EPICS Java projects that are using it, so I
think it's safe to say that RULES_JAVA is deprecated and not worth using
any more.

- Andrew




References:
Re: Is RULES_JAVA broken? Nerses Gevorgyan
Re: Is RULES_JAVA broken? Andrew Johnson

Navigate by Date:
Prev: Re: Is RULES_JAVA broken? Andrew Johnson
Next: Asyn priya tiwari
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Is RULES_JAVA broken? Andrew Johnson
Next: Re: Is RULES_JAVA broken? Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·