JDT Builder : My .emtl files in the Java output folder [message #257753] |
Thu, 11 December 2008 13:33  |
Eclipse User |
|
|
|
Hi,
I'm writing the M2T/MTL builder
I have an .mtl file in a java source folder (src) and I create an .emtl
file in the output source folder (bin)
It works but sometimes my .emtl files are deleted in the "bin" folder
(I don't have to wait more than 2 minutes)
I have disabled the JDT build, and now it works
I think that the JDT builder deletes bad files (old output files)
But for MTL, the .emtl file is like the .class file
How can I do?
Is there an extension point to keep that kind of files in the output folder?
Cheers,
Jonathan Musset
|
|
|
|
|
Re: JDT Builder : My .emtl files in the Java output folder [message #257829 is a reply to message #257781] |
Tue, 16 December 2008 11:21  |
Eclipse User |
|
|
|
Has anyone an answer to these questions?
Jonathan MUSSET a écrit :
> Thank you Walter,
> The problem is that I would like to build my .emtl files with my .class
> files, in the same jar
> I need to have my .emtl files in the java classpath
> A solution is to rename .emtl to .mtl
> It works if I have the same name both in the 'src' folder and in the
> 'bin' folder.
> But, why the .class files are not automatically deleted by the Java
> builder? "Sample.java" != "Sample.class"
> I would like to do the same kind of thing.
> My builder is able to delete my old .emtl files
> Why the Java builder do that for me? Is it a bug? Is there a workaround?
> Cheers,
>
> Jonathan
>
>
>
>
> Walter Harley a écrit :
>> Jonathan MUSSET wrote:
>>> Hi,
>>>
>>> I'm writing the M2T/MTL builder
>>> I have an .mtl file in a java source folder (src) and I create an
>>> .emtl file in the output source folder (bin)
>>> It works but sometimes my .emtl files are deleted in the "bin" folder
>>> (I don't have to wait more than 2 minutes)
>>>
>>> I have disabled the JDT build, and now it works
>>> I think that the JDT builder deletes bad files (old output files)
>>> But for MTL, the .emtl file is like the .class file
>>> How can I do?
>>> Is there an extension point to keep that kind of files in the output
>>> folder?
>>
>> Can you output your .emtl files to a different folder than "bin", and
>> then just add that folder to the build.properties or whatever you are
>> using to produce your final artifact?
|
|
|
Powered by
FUDForum. Page generated in 0.03250 seconds