In my Ant skript, i'm executing a program, passing some arguments, of which one is a very long argument:
<exec executable="${conf.GLASSFISH}/bin/asadmin" failonerror="true" vmlauncher="false">
<arg line="create-auth-realm" />
<arg line="--classname com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm" />
<arg line="--property jaas-context=${conf.auth.jaas-context}:datasource-jndi=${conf.auth.datasource-jndi}:user-table=${conf.auth.usertable}:user-name-column=${conf.auth.usernamecolumn}:password-column=${conf.auth.passwordcolumn}:group-table=${conf.auth.grouptable}:group-name-column=${conf.auth.groupnamecolumn}:assign-groups=${conf.auth.assigngroups}:digest-algorithm=${conf.auth.digest}" />
<arg line="jdbcRealm" />
</exec>
How can i split the 3rd argument into multiple lines, so the ant-skript is more readable (lower line width)? Something like this (\ is just a placeholder to demonstrate what i need):
<exec executable="command">
<arg line="--property PROP1:\\"/>
<arg line="PROP2:\\"/>
<arg line="PROP3\\"/>
</exec>
So when Ant executes this it should result in the following command:
command --property PROP1:PROP2:PROP3
How can i realize that?