Re: [Eclipseme-users] preprocessing with autosave before run

2008-03-11 Thread Setera Craig
Wayne, Can you please explain what you are trying to do? Preprocessing only occurs when a "build" occurs. If you turn off auto-build, Markus is right that you would need to do an explicit build to cause the processing to occur. Craig On Mar 11, 2008, at 10:47 AM, Markus Sinner wrote: >

Re: [Eclipseme-users] preprocessing with autosave before run

2008-03-11 Thread Markus Sinner
Okay... now, what exactly is your question? For sure, the preprocessing-changes are only then reflected, if the code is recompiled. If you deactivate Auto-Compilation (I think you mean that), then you have to manually build the project to see the changes in the emulator. Markus wayne forrest

[Eclipseme-users] preprocessing with autosave before run

2008-03-11 Thread wayne forrest
When I Run the Midlet and have autosave on (can not remember where I set this); then if I have changed a definition before the run. the definition change is not reflected when I run the Midlet. On the second run, the change is reflected. Test Procedure: //STEP1 //#define yy //#ifdef xx //# Sys

[Eclipseme-users] preprocessing weirdness

2008-03-11 Thread wayne forrest
I am a bit new to Antenna, I have setup Antenna, and coded the following as a test, yet it does not seem to work. //define x //#ifdef x //# System.out.println("X Defined"); //#endif I would expect the println to be executed but it Does not. Thank you. --

Re: [Eclipseme-users] preprocessing oddity - encoding issues

2007-10-24 Thread Omry Yadan
Yes, there a few bugs : One in the preprocessor core, which is shared by Antenna and by EclipseME, and one in my own preprocessor plugin. I am not sure if there isn't another bug in the integration code between EclipseME and The preprocessor core. if you want to try to use the new preprocessor

Re: [Eclipseme-users] preprocessing oddity - encoding issues

2007-10-24 Thread tzur Sayag
Hi Omry, thanx for the quick response and fix, I assume I need to wait for some sort of eclipseME release to benefit from this bug fix, right? best regards, -tzurs On 10/24/07, Omry Yadan <[EMAIL PROTECTED]> wrote: > > Hi Tzurs, Craig. > > I fixed the bug in the preprocessor core and in my own pr

Re: [Eclipseme-users] preprocessing oddity - encoding issues

2007-10-23 Thread Omry Yadan
Hi Tzurs, Craig. I fixed the bug in the preprocessor core and in my own preprocessor plugin. changes have been committed to Antenna's CVS. Below are two patches: * The first is for the Preprocessor (which is directly relevant to EclipseME Code, use it to fix the code or just build from CVS. *

Re: [Eclipseme-users] preprocessing oddity - encoding issues

2007-10-23 Thread tzur Sayag
Dear Craig, the file properties are set correctly to UTF-8 and the original file shows nicely in the editor as should, the preprocessed version however is still corrupted unless I disable the preprocessor, any hints? perhaps Omri can shed a light about "preprocessor.preprocess(is, bos, charset);"

Re: [Eclipseme-users] preprocessing oddity - encoding issues

2007-10-23 Thread Craig Setera
tzur, As of 1.7.6, the preprocessor is Omry's preprocessor and there is no other choice in the matter. Looking at the code, it goes something like this... File localFile = srcFile.getLocation().toFile(); String charset = srcFile.getContentDescription().getCharset();

[Eclipseme-users] preprocessing oddity - encoding issues

2007-10-22 Thread tzur Sayag
Hi Guys, I'm a very very happy user of eclipseME and generally have 0 issues with it. lately (I can't pin point the exact time) I have the following problem, I have a java file (aa.java) which is saved as UTF-8 and contains many strings in various languages. when I run the midlet (both emulator an

Re: [Eclipseme-users] Preprocessing using Antenna

2007-08-18 Thread Craig Setera
Markus, Trust me... I've thought pretty hard about the whole thing. Given the structure of the Eclipse build process and compiler this is really the only way to do things without rewriting the files in-place. In-place processing is not viable for many people as it messes with source control

[Eclipseme-users] Preprocessing using Antenna

2007-08-18 Thread Markus Sinner
Hello there, Hello Craig, wouldn't it be better to drop the internal preprocessing-support of EclipseME and use the Antenna Plugin for Eclipse instead? This plugin works without having to make those changes to hooks. It would save some of your time :-) Or is there any reasion, why the internal

Re: [Eclipseme-users] Preprocessing weirdness

2007-05-26 Thread Craig Setera
Keith, It is certainly possible that bugs like this exist. I'm looking at embedding the new preprocessor core from the Antenna project which would hopefully fix problems like this. No guarantees on if/when I will get this done. Craig Keith Bottner wrote: > I have just upgraded to the latest

[Eclipseme-users] Preprocessing weirdness

2007-05-24 Thread Keith Bottner
I have just upgraded to the latest version of EclipseME and am trying to update some very old projects to the latest version of the mobile device kits and EclipseME. In the past we used antennae to preprocess the files and now that EclipseME has that functionality built in we want to take advantage

Re: [Eclipseme-users] preprocessing comments

2007-05-14 Thread [Miklabs]
I use last EclipseMe 1.6.8 Omry Yadan a écrit : > You probably want to take a look at the new version of Antenna. > > > infos wrote: > >> Hi, >> >> I am using EclipseMe since the begin and that's really a fantastic >> product. >> >> I now switch my code to EclipseMe preprocessing from my Antenna

[Eclipseme-users] preprocessing comments

2007-05-14 Thread infos
Hi, I am using EclipseMe since the begin and that's really a fantastic product. I now switch my code to EclipseMe preprocessing from my Antenna preproceed sources. But there are 2 problems: //#define TEST //#ifdef TEST //# System.out.println("not uncommented"); //#endif With Antenna the System

Re: [Eclipseme-users] Preprocessing

2007-03-05 Thread Craig Setera
Brunno, If you followed the instructions located here http://eclipseme.org/docs/preprocessing.html, it should "just work". Craig Brunno Silva wrote: > I finally get the chance to test the preprocessing capabilities of > EclipseME (right now, I was only using a antenna build). I correctly > co

[Eclipseme-users] Preprocessing

2007-03-05 Thread Brunno Silva
I finally get the chance to test the preprocessing capabilities of EclipseME (right now, I was only using a antenna build). I correctly configurated it and created a simple example, but then I got a problem: How to preprocess it? I looked for it in the interface, searched the documentation avaia

Re: [Eclipseme-users] preprocessing

2006-10-15 Thread Craig Setera
Ed, This functionality is still in progress and no build includes it yet. When there is something testable, I will send a note to this list. Craig Ed Welch wrote: > I'm interested in the preprocessing functionality. > I understand that there is some work on a hack to do this in the > developm

[Eclipseme-users] preprocessing

2006-10-13 Thread Ed Welch
I'm interested in the preprocessing functionality. I understand that there is some work on a hack to do this in the development build. Is it working well enough to actually use? Could anyone send me the jar so that I could try it out?