Re: [CMake] Building java files from cmake

2009-03-20 Thread ankit jain
2009/3/20 Mattias Helsing > Hi Ankit, > > I have no xp with cmake for java. I was just pointing out my first > immediate reaction to your script code. > > Perhaps you should try things in smaller scale, e.g. try to create a > custom_command that compiles one java file. Also - during development >

Re: [CMake] Building java files from cmake

2009-03-20 Thread ankit jain
2009/3/20 Mattias Helsing > Hi Ankit, > > The set command doesn't work like you think. > set(X a b c) creates a list called X with contents a;b;c. So you have the > list > JAVADIST with contents > (/myjava/jdk/1.4.2/Linux/;XERCESDIR;/myjava/XML4J/4.3.4) > > try > set(JAVADIST /myjava/jdk/1.4.2/Li

[CMake] Building java files from cmake

2009-03-19 Thread ankit jain
Hi all, I have a folder "mainfolder" with sufolder "innerfolder" which has soem java files. i want to create it class files. for that iam using add_sutom_command to run the javac command but still my class files are not generated. The content of cmakelist of mainfolder is: project(mainfolder) cma