build files broken today

35 views
Skip to first unread message

Dave Dyer

unread,
Aug 4, 2016, 2:39:32 PM8/4/16
to CodenameOne Discussions

Some update to codename1 build files for eclipse today rewrote and broke all my build files.

all the "src=" clauses were re-witten to generic "src" from whatever they were.

for example
        <generateGuiSources srcDir="../../boardspace-codename1/codename1" encoding="UTF-8" guiDir="res/guibuilder"  />

became
        <generateGuiSources srcDir="src" encoding="UTF-8" guiDir="res/guibuilder"  />


Shai Almog

unread,
Aug 5, 2016, 2:22:26 AM8/5/16
to CodenameOne Discussions
Our updates don't change the build.xml.
It gets updated with new versions when you change project settings/preferences. When you save we check if you have the latest version of the build.xml and if not we suggest updating it which you can decline. I guess you pressed enter/OK without noticing.

We occasionally update the build.xml with new functionality such as support for UWP builds, these aren't mandatory but it's a good practice to merge our changes.

Dave Dyer

unread,
Aug 5, 2016, 12:47:30 PM8/5/16
to CodenameOne Discussions
I updated to a newer version of Eclipse and installed codename1 in it, then opened the project.

In any case, my objection is that the file was broken, not that it was updated.

Shai Almog

unread,
Aug 6, 2016, 1:27:42 AM8/6/16
to CodenameOne Discussions
We can't merge files. You changed the behavior of the src directory which is assumed. If it works for you that's great but it's your responsibility to maintain it.

Dave Dyer

unread,
Aug 6, 2016, 2:17:30 PM8/6/16
to CodenameOne Discussions
ok, but this is something you ought to support.  I keep my sources in a separate file hierarchy from
all the gubbish associated with eclipse projects.

Shai Almog

unread,
Aug 7, 2016, 1:21:27 AM8/7/16
to CodenameOne Discussions
The challenge is supporting these behaviors across IDE's. Notice we use ANT to hide IDE differences when possible and that's already pretty hard.
Had we just supported one IDE things like this would probably be more practical.
Reply all
Reply to author
Forward
0 new messages