<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi Stefania,</p>
<p><br>
</p>
<p>Thanks for your mail. This is not correct. The Makefile construct all the .class files, calling javac as appropriate. Step 1 is superfluous. There is nothing you need to do to change the Makefile. Step 2 is superfluous. You only need step 3.</p>
<p><br>
</p>
<p>This is pretty standard for building a project like camino, and nothing unusual in this -- it's the way build tools work. I recommend having a look for a java development tutorial which will teach you about the process.</p>
<p><br>
</p>
<p>Matt.</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> stefania oliviero <stefania.oliviero@hotmail.it><br>
<b>Sent:</b> 06 June 2017 10:44:07<br>
<b>To:</b> Hall, Matt; camino-users@www.nitrc.org; Jonathan Rafael Patiño<br>
<b>Subject:</b> Re: compile Camino</font>
<div> </div>
</div>
<div><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
Dear all,
<div>thank you Matt and Jonathan for all your precious suggestions... Now I know what I have to do.</div>
<div><br>
</div>
<div>
<ol style="margin-bottom: 0px; margin-top: 0px;">
<li><span style="font-size: 12pt;">create </span>.class files for all the modified and new .java files<span style="font-size: 12pt;"> using commandline: es. </span></li></ol>
</div>
<div> $ cd camino</div>
<div> $ javac tools.CL_Initializer.java </div>
<div> ... and doing debug</div>
<div> 2. control makefile : in my case I don't modify it</div>
<div> 3. compile Camino using "make" on the commandline</div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Stefania </div>
<div> </div>
<div><br>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Da:</b> Hall, Matt <matt.hall@ucl.ac.uk><br>
<b>Inviato:</b> lunedì 5 giugno 2017 15.51.16<br>
<b>A:</b> stefania oliviero<br>
<b>Oggetto:</b> Re: compile Camino</font>
<div> </div>
</div>
<div><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>If the files are referenced from code which is already being compiled, you should put them in the folder indicated by the package structure you've declared at the top of the source. The compiler will then find them itself. There's no need to add every source
file explicitly to the build path or the makefile unless you're building a completely new command.</p>
<p><br>
</p>
<p>I assume since you're adding new substrate fies that this is all part of the existing simulation framework, which is part of the datasynth command. as long as the folder structure is legal in java (i.e. simulation.substrates.elements.NewElement lives in
simulation/substrates/elements and is called NewElement.java etc) the compiler will know where to look.</p>
<p><br>
</p>
<p>once you've got a clean compile you can run the usual simulation command you'd normally use to test the code.</p>
<p><br>
</p>
<p>hope this helps,</p>
<p>Matt.</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> camino-users-bounces@www.nitrc.org <camino-users-bounces@www.nitrc.org> on behalf of stefania oliviero <stefania.oliviero@hotmail.it><br>
<b>Sent:</b> 05 June 2017 12:53:28<br>
<b>To:</b> camino-users<br>
<b>Subject:</b> [Camino-users] compile Camino</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Dear all</p>
<p>I am working on the introduction of a new substrate and so, I changed some .java files and introduced some new ones.</p>
<p>Once the code rewrite is complete, what should I do to debug and compile the new version of camino and make it executable?</p>
<p><br>
</p>
<p>ps. At the moment I'm using text editor and ECLIPSE <span id="result_box" class="" lang="en">
<span class="">to control simple lines of code</span></span>, but I don't know its functions ...<br>
</p>
<p>Thanks <br>
</p>
<span id="result_box" class="" lang="en"></span>
<p><span id="result_box" class="" lang="en"><br>
<span class="">I'm sorry for my ignorance ...</span><br>
<br>
<span>Thank you</span></span><br>
</p>
<p>Stefania Oliviero<br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>