| post build steps? [message #93426] | 
Wed, 04 February 2004 22:54  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi all, 
I have 2 projects, a java project that depends on (references) a c/c++  
project. The building works fine, my c/c++ project gets built first, and  
then the java project is built automatically. 
However to run the application, the library created by the c/c++ project  
has to be in the bin directory of the java project. 
 
1. Is it possible to copy the library automatically after the build?  
It's a Managed Make C/C++ project, so I can't edit the makefile, can I? 
 
2. Can I specify to the Java project to somehow add the Release  
directory of the C/C++ project to it's java.library.path system property? 
 
Maybe I can make a pre-run ant task to copy the library if it's newer. I  
only want to do it this way if it's impossible any other way... 
 
Regards, 
Matthijs.
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04210 seconds