helers
helers

Reputation: 1

rmic is removed in Java 15

How can I replace the rmic command in Ant's build.xml with an exec command?

I am trying to replace this:

<rmic base="${classes.Appcommon}" >
    <classpath refid="app.classpath" />
    <classpath path="${classes.common}" />
    <include name="/extras/*.class" />
</rmic>

The following lines don't work:

<property name="rmic" location="C:/home/jdk-11.0.17/bin/rmic.exe"/> 
<exec executable="${rmic}" dir="${classes.Appcommon}" >
    <arg line="-classpath ${classes.common}"/>
</exec>

Also, how can I add include tag to exec command?

Upvotes: 0

Views: 32

Answers (0)

Related Questions