Re: Project source structure

Jean Rodrigues <[email protected]> Mon, 15 Nov 2004 20:29:18 -0300 (ART)
Newsgroups gmane.comp.java.seda.user
Message-ID <[email protected]>
--0-1887940637-1100561358=:19703
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I really think we should use ant build scripts or even maven to achieve a better separation of concerns instead of old style make files.
 
Jean Rodrigues

Jean Morissette <[email protected]> wrote:
Hi,
Actually, SEDA build process is messy. We could define a better 
directory structure.

Personally, I don't like that Haboob, Gnutella, nbio and all libs 
(aDisk, aSocket, aTLS, Gnutella, http) are in the same directory 
structure that Sandstorm because we could want to develop and release 
each of them separately. Also presently, test and source code are 
intermingled.

In the same way that Eclipse developers do, we could separate our 
project in 10 independents modules like this:

seda
+---Apps
| +---Gnutella
| | +---src
| |
| +---Haboob
| +---src
|
+---Libs
| +---aDisk
| | +---src
| |
| +---aSocket
| | +---src
| |
| +---aTLS
| | +---src
| |
| +---Gnutella
| | +---src
| |
| +---http
| +---src
|
+---Sandstorm
| +---src
|
+---nbio
| +--------src
|
+---util
+--------src


Each module could have its build.xml file.
Each 'src' directory could have a 'java', 'test' and optionally a 'jni' 
sub directory:

src
+--java
+--jni
+--test


Advice?

Thanks,
Jean






-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
SEDA-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/seda-users

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--0-1887940637-1100561358=:19703
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>I really think we should use ant build scripts or even maven to achieve a better separation of concerns instead of old style make files.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jean Rodrigues<BR><BR><B><I>Jean Morissette &lt;[email protected]&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi,<BR>Actually, SEDA build process is messy. We could define a better <BR>directory structure.<BR><BR>Personally, I don't like that Haboob, Gnutella, nbio and all libs <BR>(aDisk, aSocket, aTLS, Gnutella, http) are in the same directory <BR>structure that Sandstorm because we could want to develop and release <BR>each of them separately. Also presently, test and source code are <BR>intermingled.<BR><BR>In the same way that Eclipse developers do, we could separate our <BR>project in 10 independents modules like this:<BR><BR>seda<BR>+---Apps<BR>| +---Gnutella<BR>| | +---src<BR>| |<BR>| +---Haboob<BR>| +---src<BR>|<BR>+---Libs<BR>| +---aDisk<BR>| | +---src<BR>| |<BR>| +---aSocket<BR>| | +---src<BR>| |<BR>| +---aTLS<BR>| | +---src<BR>| |<BR>| +---Gnutella<BR>| | +---src<BR>| |<BR>| +---http<
 BR>| +---src<BR>|<BR>+---Sandstorm<BR>| +---src<BR>|<BR>+---nbio<BR>|
 +--------src<BR>|<BR>+---util<BR>+--------src<BR><BR><BR>Each module could have its build.xml file.<BR>Each 'src' directory could have a 'java', 'test' and optionally a 'jni' <BR>sub directory:<BR><BR>src<BR>+--java<BR>+--jni<BR>+--test<BR><BR><BR>Advice?<BR><BR>Thanks,<BR>Jean<BR><BR><BR><BR><BR><BR><BR>-------------------------------------------------------<BR>This SF.Net email is sponsored by: InterSystems CACHE<BR>FREE OODBMS DOWNLOAD - A multidimensional database that combines<BR>robust object and relational technologies, making it a perfect match<BR>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8<BR>_______________________________________________<BR>SEDA-users mailing list<BR>[email protected]<BR>https://lists.sourceforge.net/lists/listinfo/seda-users<BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired 
 of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com 
--0-1887940637-1100561358=:19703--


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8