<HTML>
<HEAD>
<TITLE>Compiling java files to classes then creating a jar</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello,<BR>
Another newbie question, I think I know how to create .java files from swig using Cmake and I think I know how to create a jar file from .class BUT<BR>
I&#8217;m not sure how to call the java compiler (javac) on each .java file to create my .class files. For starters, how would I loop over the *.java files in a given directory?<BR>
Does, FOREACH support this? I&#8217;m unable to find much info on it in the &#8220;Mastering Cmake&#8221; book.<BR>
Gerrick </SPAN></FONT></FONT>
</BODY>
</HTML>