From: Panayotis K. <pan...@pa...> - 2011-10-02 09:41:29
|
On 2 Οκτ 2011, at 12:14 μ.μ., Joseph Rukshan Fonseka wrote: >>> I would like to run a custom build so that I can do some preprocessing on the java files before xmlvm compiles them. >>> >>> Because I have some android specific code that I do want to get cross compiled to C I was thinking I will mark them with a special comment such as. >>> >>> >>> /* !XMLVM */ import com.xxx.library; >>> >>> My question is how can I call my custom script that will preprocess and generate a new .java file for xmlvm to compile in the current build system? Depending on the target (Java, Xcode or Android) there is a build-*target*.xml file inside the nbproject directory. This file calls the actual build commands. You can modify these files to suit your needs. |