You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(29) |
Aug
(75) |
Sep
(32) |
Oct
(147) |
Nov
(31) |
Dec
(49) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(46) |
Feb
(35) |
Mar
(148) |
Apr
(33) |
May
(53) |
Jun
(46) |
Jul
(60) |
Aug
(44) |
Sep
(135) |
Oct
(23) |
Nov
(68) |
Dec
(42) |
2011 |
Jan
(94) |
Feb
(55) |
Mar
(114) |
Apr
(78) |
May
(64) |
Jun
(10) |
Jul
(31) |
Aug
(2) |
Sep
(25) |
Oct
(13) |
Nov
(8) |
Dec
(24) |
2012 |
Jan
(5) |
Feb
(33) |
Mar
(31) |
Apr
(19) |
May
(24) |
Jun
(23) |
Jul
(14) |
Aug
(15) |
Sep
(12) |
Oct
(3) |
Nov
(4) |
Dec
(19) |
2013 |
Jan
(8) |
Feb
(20) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(4) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(6) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sascha H. <sa...@xm...> - 2010-09-18 12:03:47
|
Try starting with something like java -jar dist/xmlvm.jar -Xmx1G --version // Sascha On Sat, Sep 18, 2010 at 2:00 PM, Lennie De Villiers <len...@gm...>wrote: > Hi, > > Getting the following error when trying to run XMLVM after I build it: > > Command line run: > > java -jar dist/xmlvm.jar --version > > Result: > > C:\Lennie\Work\xmlvm>java -jar dist/xmlvm.jar --version > Exception in thread "main" java.lang.OutOfMemoryError: Java heap space > at java.util.Arrays.copyOf(Unknown Source) > at java.io.ByteArrayOutputStream.write(Unknown Source) > at > com.simontuffs.onejar.JarClassLoader.copy(JarClassLoader.java:934) > at > com.simontuffs.onejar.JarClassLoader.loadBytes(JarClassLoader.java:47 > 9) > at > com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java > :455) > at > com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java > :446) > at > com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:386) > at > com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:276) > at com.simontuffs.onejar.Boot.run(Boot.java:282) > at com.simontuffs.onejar.Boot.main(Boot.java:159) > > C:\Lennie\Work\xmlvm> > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Sascha H. <sa...@xm...> - 2010-09-18 12:02:18
|
2010/9/18 Panayotis Katsaloulis <pan...@pa...> > On 18 Σεπ 2010, at 2:25 μ.μ., Sascha Haeberling wrote: > > I invested quite a lot of time to improve the internal structures of > XMLVM, mainly the UniversalFile API, that makes it now very easy to handle > the situation where resources are located either inside or outside the > One-JAR. > > Exactly that's my point. > I have seen in the source code that you have started to use UniversalFile > which handles this situation, which from my point of view is a bad approach. > And before all this effort grows and be too big and/or important to abandon > it, I wanted to present these problems and why (since some time ago) I am > against the one-jar approach. > I disagree that this is a bad approach. The API makes it quite simple and totally transparent to handle both situations well. I am not planning to abandon it at all. It is now a well documented powerful API that is a core part of XMLVM. > > > > You said that things grow big. That is natural and as Joshua pointed out, > this is not a problem nowadays. Of course, if the One-Jar would become > hundreds of MBs big, that would be too much. But right now it doesn't feel > too big to download. > > One more note on size: Of course things will get added, but we will > hopefully be able to significantly reduce the size of it soon. The OpenJDK > libs included contain too much stuff we will never need. Once we figured out > what is "junk", we will cut it out and we should be able to get rid of many > MBs easily. > > Still, the performance loss in terms of speed will always be there. > And as you said exactly, there is a lot of developer effort to support > something that (in my point of view) is not a good idea any more. Space is > one issue only. Anyway, even space is important, I don't like bloated > software just because we can do it. I prefer more elegant solutions, without > sacrificing ease of use. > Of course software shouldn't be bloated. But if many of the bytes that are inside the JAR are needed, the other way would be to download these dependencies separately. So having the One-JAR is much nicer. > > > > The other argument you made is speed. Panayotis, you wrote a long e-mail > (which you ponted out yourself), but you failed to provide data: What I need > to to know are hard facts. Provide data about what takes how long and why > this is a problem, and how fast it would be in another case. THEN we we have > foundation to talk about and THEN we can maybe find other solutions as well. > > For example: I don't know how the OneJAR mechanism exactly does its work, > but I agree with you in that it seams silly to extract parts of the OneJAR > that are not needed. E.g. when you just want to cross-compile a bunch of > files, you don't need to extract certain libs every time. However, with ZIP > files you can extract certain parts only, so it would make sense to have it > extract only the needed parts. > > Another way to solve this is to extract things on first run and to cache > it on the disk to improve speed when executed again. > > But again, for me what matters are numbers, and not assumptions. If you > can provide measurable numbers about what's slow, why it is bad and how fast > it could be, then we can talk concrete steps in improving the situation. > > > I said in a previous post how to get these numbers you are talking about, > but, anyway, here they are. > If you want numbers, numbers you will have: > > cd build/base/main ; time java -cp main.jar org.xmlvm.proc.NewMain > 0.24 real 0.25 user 0.04 sys > > cd build/bin/ ; time java org.xmlvm.proc.NewMain > 0.23 real 0.24 user 0.04 sys > > cd dist ; time java -jar xmlvm.jar > 2.16 real 2.37 user 0.25 sys > > > It's as you can see, an order of magnitude slower. Are these enough hard > facts for you? If you run these scripts hundred times per day, in > production, you will have the same feeling as I do. > Actually no. Of course just showing the help dialog is the worst situation. But show me the numbers when compiling a whole project. I don't think that extracting data from the OneJAR is a huge part in the whole process. Believe me, I care about speed just as much as you do. Last week I made some significant changes that speed up the compilation significantly. I was able to save minutes. If the OneJAR only adds 2 seconds to a cross-compilation, I would see it as rather insignificant. But of course, if there are clever ways to make the OneJAR faster, I am always for it,but I wouldn't abandon it. > > What actually surprises me is that the speed of using jars and files on > disk takes exactly the same time. It makes sense of course, since the time > we loose to unzip something in memory will equal the time to access > different files on disk. > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Lennie De V. <len...@gm...> - 2010-09-18 12:00:47
|
Hi, Getting the following error when trying to run XMLVM after I build it: Command line run: java -jar dist/xmlvm.jar --version Result: C:\Lennie\Work\xmlvm>java -jar dist/xmlvm.jar --version Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.io.ByteArrayOutputStream.write(Unknown Source) at com.simontuffs.onejar.JarClassLoader.copy(JarClassLoader.java:934) at com.simontuffs.onejar.JarClassLoader.loadBytes(JarClassLoader.java:47 9) at com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java :455) at com.simontuffs.onejar.JarClassLoader.loadByteCode(JarClassLoader.java :446) at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:386) at com.simontuffs.onejar.JarClassLoader.load(JarClassLoader.java:276) at com.simontuffs.onejar.Boot.run(Boot.java:282) at com.simontuffs.onejar.Boot.main(Boot.java:159) C:\Lennie\Work\xmlvm> |
From: Panayotis K. <pan...@pa...> - 2010-09-18 11:54:42
|
On 18 Σεπ 2010, at 2:25 μ.μ., Sascha Haeberling wrote: > I invested quite a lot of time to improve the internal structures of XMLVM, mainly the UniversalFile API, that makes it now very easy to handle the situation where resources are located either inside or outside the One-JAR. Exactly that's my point. I have seen in the source code that you have started to use UniversalFile which handles this situation, which from my point of view is a bad approach. And before all this effort grows and be too big and/or important to abandon it, I wanted to present these problems and why (since some time ago) I am against the one-jar approach. > You said that things grow big. That is natural and as Joshua pointed out, this is not a problem nowadays. Of course, if the One-Jar would become hundreds of MBs big, that would be too much. But right now it doesn't feel too big to download. > One more note on size: Of course things will get added, but we will hopefully be able to significantly reduce the size of it soon. The OpenJDK libs included contain too much stuff we will never need. Once we figured out what is "junk", we will cut it out and we should be able to get rid of many MBs easily. Still, the performance loss in terms of speed will always be there. And as you said exactly, there is a lot of developer effort to support something that (in my point of view) is not a good idea any more. Space is one issue only. Anyway, even space is important, I don't like bloated software just because we can do it. I prefer more elegant solutions, without sacrificing ease of use. > The other argument you made is speed. Panayotis, you wrote a long e-mail (which you ponted out yourself), but you failed to provide data: What I need to to know are hard facts. Provide data about what takes how long and why this is a problem, and how fast it would be in another case. THEN we we have foundation to talk about and THEN we can maybe find other solutions as well. > For example: I don't know how the OneJAR mechanism exactly does its work, but I agree with you in that it seams silly to extract parts of the OneJAR that are not needed. E.g. when you just want to cross-compile a bunch of files, you don't need to extract certain libs every time. However, with ZIP files you can extract certain parts only, so it would make sense to have it extract only the needed parts. > Another way to solve this is to extract things on first run and to cache it on the disk to improve speed when executed again. > But again, for me what matters are numbers, and not assumptions. If you can provide measurable numbers about what's slow, why it is bad and how fast it could be, then we can talk concrete steps in improving the situation. I said in a previous post how to get these numbers you are talking about, but, anyway, here they are. If you want numbers, numbers you will have: cd build/base/main ; time java -cp main.jar org.xmlvm.proc.NewMain 0.24 real 0.25 user 0.04 sys cd build/bin/ ; time java org.xmlvm.proc.NewMain 0.23 real 0.24 user 0.04 sys cd dist ; time java -jar xmlvm.jar 2.16 real 2.37 user 0.25 sys It's as you can see, an order of magnitude slower. Are these enough hard facts for you? If you run these scripts hundred times per day, in production, you will have the same feeling as I do. What actually surprises me is that the speed of using jars and files on disk takes exactly the same time. It makes sense of course, since the time we loose to unzip something in memory will equal the time to access different files on disk. |
From: Sascha H. <sa...@xm...> - 2010-09-18 11:25:45
|
Let me chime in as well, as I did quite a lot of work recently to integrate the OneJAR mechanism into our processing pipeline ... I agree with Joshua on this one. While I was skeptical when we introduced the one-jar, I became a fan of it. There is a huge benefit of having a single consistent JAR that just works and you don't have to bother with anything else. I invested quite a lot of time to improve the internal structures of XMLVM, mainly the UniversalFile API, that makes it now very easy to handle the situation where resources are located either inside or outside the One-JAR. You said that things grow big. That is natural and as Joshua pointed out, this is not a problem nowadays. Of course, if the One-Jar would become hundreds of MBs big, that would be too much. But right now it doesn't feel too big to download. One more note on size: Of course things will get added, but we will hopefully be able to significantly reduce the size of it soon. The OpenJDK libs included contain too much stuff we will never need. Once we figured out what is "junk", we will cut it out and we should be able to get rid of many MBs easily. The other argument you made is speed. Panayotis, you wrote a long e-mail (which you ponted out yourself), but you failed to provide data: What I need to to know are hard facts. Provide data about what takes how long and why this is a problem, and how fast it would be in another case. THEN we we have foundation to talk about and THEN we can maybe find other solutions as well. For example: I don't know how the OneJAR mechanism exactly does its work, but I agree with you in that it seams silly to extract parts of the OneJAR that are not needed. E.g. when you just want to cross-compile a bunch of files, you don't need to extract certain libs every time. However, with ZIP files you can extract certain parts only, so it would make sense to have it extract only the needed parts. Another way to solve this is to extract things on first run and to cache it on the disk to improve speed when executed again. But again, for me what matters are numbers, and not assumptions. If you can provide measurable numbers about *what's* slow, *why* it is bad and *how fast* it could be, *then* we can talk concrete steps in improving the situation. // Sascha 2010/9/18 Lennie De Villiers <len...@gm...> > This is one of the frustrations I'm starting to have to write > Android->iPhone apps. > > On Fri, Sep 17, 2010 at 9:24 PM, Panayotis Katsaloulis > <pan...@pa...> wrote: > > On 17 Σεπ 2010, at 9:03 μ.μ., Arno Puder wrote: > > > >> > >> fact is that we will soon add quite a bit more to the OneJar. The source > >> code of the Boehm GC and (more importantly) the cross-compiled version > >> of the OpenJDK. Especially the latter will increase the size of the > >> OneJar significantly. > >> > >> In principle I like the OneJar approach for its simplicity: everything > >> is bundled in one jar. However, we should make sure that the > >> jar-inside-jar for huge files does not have any significant performance > >> impact. If that should be the case, we definitely need to abandon the > >> OneJar approach. > > > > > > I totally agree. But I do think that the one jar approach makes system > slow. For example, if you run xmlvm with no command line arguments, there is > a significant time before displaying the help text, in order to unzip the > contents of the file. This is an obvious problem but I also thing there are > other performance issues elsewhere. > > > > One thing I thought and didn't discuss it is, if we want to develop a > java-based iphone application, only the xml2objc jar should could be added > to the project and not everything. Similar with Android projects... :) This > will decrease developer frustration - I think. > > > ------------------------------------------------------------------------------ > > Start uncovering the many advantages of virtual appliances > > and start using them to simplify application deployment and > > accelerate your shift to cloud computing. > > http://p.sf.net/sfu/novell-sfdev2dev > > _______________________________________________ > > xmlvm-users mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > > -- > Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Lennie De V. <len...@gm...> - 2010-09-18 11:01:48
|
This is one of the frustrations I'm starting to have to write Android->iPhone apps. On Fri, Sep 17, 2010 at 9:24 PM, Panayotis Katsaloulis <pan...@pa...> wrote: > On 17 Σεπ 2010, at 9:03 μ.μ., Arno Puder wrote: > >> >> fact is that we will soon add quite a bit more to the OneJar. The source >> code of the Boehm GC and (more importantly) the cross-compiled version >> of the OpenJDK. Especially the latter will increase the size of the >> OneJar significantly. >> >> In principle I like the OneJar approach for its simplicity: everything >> is bundled in one jar. However, we should make sure that the >> jar-inside-jar for huge files does not have any significant performance >> impact. If that should be the case, we definitely need to abandon the >> OneJar approach. > > > I totally agree. But I do think that the one jar approach makes system slow. For example, if you run xmlvm with no command line arguments, there is a significant time before displaying the help text, in order to unzip the contents of the file. This is an obvious problem but I also thing there are other performance issues elsewhere. > > One thing I thought and didn't discuss it is, if we want to develop a java-based iphone application, only the xml2objc jar should could be added to the project and not everything. Similar with Android projects... :) This will decrease developer frustration - I think. > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > -- Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ |
From: Lennie De V. <len...@gm...> - 2010-09-18 11:00:52
|
The one JAR approach is nice if you got a small project but XMLVM is getting to a size where its not... by splitting everything into seperate JARs make it more modular. You can have a set of developers working on the Android-iPhone specific libraried without inclusing the core lib or other libs. On Fri, Sep 17, 2010 at 8:03 PM, Arno Puder <ar...@pu...> wrote: > > fact is that we will soon add quite a bit more to the OneJar. The source > code of the Boehm GC and (more importantly) the cross-compiled version > of the OpenJDK. Especially the latter will increase the size of the > OneJar significantly. > > In principle I like the OneJar approach for its simplicity: everything > is bundled in one jar. However, we should make sure that the > jar-inside-jar for huge files does not have any significant performance > impact. If that should be the case, we definitely need to abandon the > OneJar approach. > > Anyone else want to chip in? > > Arno > > > On 9/17/10 10:21 AM, Panayotis Katsaloulis wrote: >> On 17 Σεπ 2010, at 7:20 μ.μ., Joshua Melcon wrote: >> >>> Panayotis, >>> >>> The one jar distribution has a single big advantage: It has a known, working, consistent set of files/code/classes that an provably work together. If we wanted to I could test it and say here, it works, use it. It is a much more difficult process (and usually combinatorially impossible) to do that with every version of every library that someone might attempt to run XMLVM against. >> >> I agree with that. >> As I said in the looong message, we can really have for our own use a "private" lib folder with all recommended lbrary versions - and leave compatibility chaos to the system packages. >> What I don't like is to have embedded OpenJDK (and much more) inside the JAR, which needed to be double-unzipped every time. >> What I am proposing actually is what every other project is doing: go from a monolithic to a modular system - even if the modules are "private", and "independent" from the "system libraries" of the same name. >> >> >>> Size: In 1992 I downloaded 12 megs over a 14400 baud modem. It took most of the day. These days I can download 200 mb during a coffee break. Its just not that much of an issue. >> >> Size, probably not. But speed is. And it is here every time you compile a program. Don't tell me you haven't experienced it? >> >>> Complication time packaging time for xmlvm.jar: meaningless for users, only XMLVM dev types do that. XMLVM run time might be a consideration, though in my experience it is fast enough that it doesn't feel like a bottle neck in my work flow. >> >> See above ;) >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > -- Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ |
From: Lennie De V. <len...@gm...> - 2010-09-18 10:49:18
|
Vote me in as well. 2010/9/13 Keshan Sodimana | කේෂාන් සෝදිමාන <kes...@gm...>: > Hi, > I would like to contribute to the XMLVM and particularly to the > documentation idea. I also think maintaining a wiki is much more simpler and > efficient.so, if there is Google site already hosted then it would be much > easier. I would like to contribute in maintaining the Google site. > Thanks. > Keshan. > > On Mon, Sep 13, 2010 at 6:09 PM, Sascha Haeberling <sa...@xm...> wrote: >> >> Hi guys, >> I agree and think it's an excellent idea to make the documentation easier >> to edit by contributors. However, I would vote for a Google site instead of >> a wiki. One of the reasons is that we already have a Google site hosted for >> XMLVM and we can administer it easily. >> I will convert the existing documentation to the sites format in the next >> few days. Let me know who would like to have access to the Site and I will >> add you as contributors. >> Thanks >> // Sascha >> On Mon, Sep 13, 2010 at 2:07 PM, Lennie De Villiers <len...@gm...> >> wrote: >>> >>> You got my vote that a Wiki is a much better idea, can make it part of >>> xmlvm.org >>> >>> On Mon, Sep 13, 2010 at 9:55 AM, Linus Brimstedt <li...@br...> >>> wrote: >>> > Hello, >>> > >>> > On Sun, Sep 12, 2010 at 1:03 PM, Arno Puder <ar...@pu...> wrote: >>> >> >>> >> Guys, >>> >> >>> >> 1. Documentation: Let me start with the least favorite, but still very >>> >> important job of documentation. If someone out there enjoys writing >>> >> technical documentation, XMLVM would get a major boost by offering >>> >> better documentation. Right now we have an HTML version in >>> >> xmlvm/doc/homepage/manual that is the best we have right now. We have >>> >> begun to convert this to DocBook in xmlvm/doc/manual/docbook. Anyone >>> >> interested in continuing the conversion to DocBook and/or adding new >>> >> documentation? A little HOWTO and a tutorial would be nice. >>> > >>> > How about not having the documentation in SVN and use a wiki instead? I >>> > think this makes it much easier for people to contribute to the >>> > documentation. >>> > >>> > I can configure and host such a wiki if there is interest. >>> > >>> > br >>> > >>> > /Linus >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > Start uncovering the many advantages of virtual appliances >>> > and start using them to simplify application deployment and >>> > accelerate your shift to cloud computing >>> > http://p.sf.net/sfu/novell-sfdev2dev >>> > >>> > _______________________________________________ >>> > xmlvm-users mailing list >>> > xml...@li... >>> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>> > >>> > >>> >>> >>> >>> -- >>> Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ >>> >>> >>> ------------------------------------------------------------------------------ >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing >>> http://p.sf.net/sfu/novell-sfdev2dev >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing >> http://p.sf.net/sfu/novell-sfdev2dev >> >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing > http://p.sf.net/sfu/novell-sfdev2dev > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > -- Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ |
From: Arno P. <ar...@pu...> - 2010-09-17 21:01:55
|
during the build process, the ant-script builds up a verbatim version of the content of the OneJar (under xmlvm/build). Perhaps we can do a hybrid approach for now: it would be easy enough to add an "ant install" target that simply copies the content of xmlvm/build somewhere. Add a little shell script with the proper -classpath arguments and we have it both ways. Arno On 9/17/10 12:24 PM, Panayotis Katsaloulis wrote: > On 17 Σεπ 2010, at 9:03 μ.μ., Arno Puder wrote: > >> >> fact is that we will soon add quite a bit more to the OneJar. The source >> code of the Boehm GC and (more importantly) the cross-compiled version >> of the OpenJDK. Especially the latter will increase the size of the >> OneJar significantly. >> >> In principle I like the OneJar approach for its simplicity: everything >> is bundled in one jar. However, we should make sure that the >> jar-inside-jar for huge files does not have any significant performance >> impact. If that should be the case, we definitely need to abandon the >> OneJar approach. > > > I totally agree. But I do think that the one jar approach makes system slow. For example, if you run xmlvm with no command line arguments, there is a significant time before displaying the help text, in order to unzip the contents of the file. This is an obvious problem but I also thing there are other performance issues elsewhere. > > One thing I thought and didn't discuss it is, if we want to develop a java-based iphone application, only the xml2objc jar should could be added to the project and not everything. Similar with Android projects… :) This will decrease developer frustration - I think. > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Panayotis K. <pan...@pa...> - 2010-09-17 19:24:17
|
On 17 Σεπ 2010, at 9:03 μ.μ., Arno Puder wrote: > > fact is that we will soon add quite a bit more to the OneJar. The source > code of the Boehm GC and (more importantly) the cross-compiled version > of the OpenJDK. Especially the latter will increase the size of the > OneJar significantly. > > In principle I like the OneJar approach for its simplicity: everything > is bundled in one jar. However, we should make sure that the > jar-inside-jar for huge files does not have any significant performance > impact. If that should be the case, we definitely need to abandon the > OneJar approach. I totally agree. But I do think that the one jar approach makes system slow. For example, if you run xmlvm with no command line arguments, there is a significant time before displaying the help text, in order to unzip the contents of the file. This is an obvious problem but I also thing there are other performance issues elsewhere. One thing I thought and didn't discuss it is, if we want to develop a java-based iphone application, only the xml2objc jar should could be added to the project and not everything. Similar with Android projects… :) This will decrease developer frustration - I think. |
From: Arno P. <ar...@pu...> - 2010-09-17 18:03:41
|
fact is that we will soon add quite a bit more to the OneJar. The source code of the Boehm GC and (more importantly) the cross-compiled version of the OpenJDK. Especially the latter will increase the size of the OneJar significantly. In principle I like the OneJar approach for its simplicity: everything is bundled in one jar. However, we should make sure that the jar-inside-jar for huge files does not have any significant performance impact. If that should be the case, we definitely need to abandon the OneJar approach. Anyone else want to chip in? Arno On 9/17/10 10:21 AM, Panayotis Katsaloulis wrote: > On 17 Σεπ 2010, at 7:20 μ.μ., Joshua Melcon wrote: > >> Panayotis, >> >> The one jar distribution has a single big advantage: It has a known, working, consistent set of files/code/classes that an provably work together. If we wanted to I could test it and say here, it works, use it. It is a much more difficult process (and usually combinatorially impossible) to do that with every version of every library that someone might attempt to run XMLVM against. > > I agree with that. > As I said in the looong message, we can really have for our own use a "private" lib folder with all recommended lbrary versions - and leave compatibility chaos to the system packages. > What I don't like is to have embedded OpenJDK (and much more) inside the JAR, which needed to be double-unzipped every time. > What I am proposing actually is what every other project is doing: go from a monolithic to a modular system - even if the modules are "private", and "independent" from the "system libraries" of the same name. > > >> Size: In 1992 I downloaded 12 megs over a 14400 baud modem. It took most of the day. These days I can download 200 mb during a coffee break. Its just not that much of an issue. > > Size, probably not. But speed is. And it is here every time you compile a program. Don't tell me you haven't experienced it? > >> Complication time packaging time for xmlvm.jar: meaningless for users, only XMLVM dev types do that. XMLVM run time might be a consideration, though in my experience it is fast enough that it doesn't feel like a bottle neck in my work flow. > > See above ;) > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Panayotis K. <pan...@pa...> - 2010-09-17 17:21:20
|
On 17 Σεπ 2010, at 7:20 μ.μ., Joshua Melcon wrote: > Panayotis, > > The one jar distribution has a single big advantage: It has a known, working, consistent set of files/code/classes that an provably work together. If we wanted to I could test it and say here, it works, use it. It is a much more difficult process (and usually combinatorially impossible) to do that with every version of every library that someone might attempt to run XMLVM against. I agree with that. As I said in the looong message, we can really have for our own use a "private" lib folder with all recommended lbrary versions - and leave compatibility chaos to the system packages. What I don't like is to have embedded OpenJDK (and much more) inside the JAR, which needed to be double-unzipped every time. What I am proposing actually is what every other project is doing: go from a monolithic to a modular system - even if the modules are "private", and "independent" from the "system libraries" of the same name. > Size: In 1992 I downloaded 12 megs over a 14400 baud modem. It took most of the day. These days I can download 200 mb during a coffee break. Its just not that much of an issue. Size, probably not. But speed is. And it is here every time you compile a program. Don't tell me you haven't experienced it? > Complication time packaging time for xmlvm.jar: meaningless for users, only XMLVM dev types do that. XMLVM run time might be a consideration, though in my experience it is fast enough that it doesn't feel like a bottle neck in my work flow. See above ;) |
From: Joshua M. <xm...@me...> - 2010-09-17 16:43:10
|
Panayotis, The one jar distribution has a single big advantage: It has a known, working, consistent set of files/code/classes that an provably work together. If we wanted to I could test it and say here, it works, use it. It is a much more difficult process (and usually combinatorially impossible) to do that with every version of every library that someone might attempt to run XMLVM against. As a user, I care mostly about one thing: that java -jar xmlvm.jar always works with minimal hassle. The one jar approach helps with that in certain cases. To address some of your other points: Size: In 1992 I downloaded 12 megs over a 14400 baud modem. It took most of the day. These days I can download 200 mb during a coffee break. Its just not that much of an issue. Command line: I believe with most JRE implementations, you can get ./xmlvm.jar --arguments to work somehow. Complication time packaging time for xmlvm.jar: meaningless for users, only XMLVM dev types do that. XMLVM run time might be a consideration, though in my experience it is fast enough that it doesn't feel like a bottle neck in my work flow. Thats my 2 cents -- I like hearing your ideas they are always interesting. Unfortunately, I am arguing more against this one than for it. -- Joshua Melcon On Fri, Sep 17, 2010 at 7:28 AM, Panayotis Katsaloulis < pan...@pa...> wrote: > > On Sep 17, 2010, at 5:22 PM, Jeff Palmer wrote: > > > Maybe something like a .zip or .tar of jars will give a feel of the best > of > > both approaches. One file so no accidental mis-matched use, but still > > separate when used. > > > > Yes, a .jar is already a .zip, but OS'es do special things when the > > extension is .zip. I believe OSX expands such file automatically when > > downloaded & Windows shows as a directory in explorer. > > > > I am not talking about distribution - distribution can be anything you like > - from a deb package to a tag.bz2 file. > Or even a portlist entry in MacPorts. > > I am mostly talking about how XMLVM tool-chain will "live" in our > hard-drive. > In a few words, I just believe that the monolithic approach should come to > an end :) > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Panayotis K. <pan...@pa...> - 2010-09-17 14:29:00
|
On Sep 17, 2010, at 5:22 PM, Jeff Palmer wrote: > Maybe something like a .zip or .tar of jars will give a feel of the best of > both approaches. One file so no accidental mis-matched use, but still > separate when used. > > Yes, a .jar is already a .zip, but OS'es do special things when the > extension is .zip. I believe OSX expands such file automatically when > downloaded & Windows shows as a directory in explorer. > I am not talking about distribution - distribution can be anything you like - from a deb package to a tag.bz2 file. Or even a portlist entry in MacPorts. I am mostly talking about how XMLVM tool-chain will "live" in our hard-drive. In a few words, I just believe that the monolithic approach should come to an end :) |
From: Jeff P. <jcp...@ro...> - 2010-09-17 14:22:16
|
Maybe something like a .zip or .tar of jars will give a feel of the best of both approaches. One file so no accidental mis-matched use, but still separate when used. Yes, a .jar is already a .zip, but OS'es do special things when the extension is .zip. I believe OSX expands such file automatically when downloaded & Windows shows as a directory in explorer. On 9/17/10 3:25 AM, "Panayotis Katsaloulis" <pan...@pa...> wrote: > This is a topic I find it really important for the future of XMLVM, since I've > seen that there are some development decisions which should be "updated". It > has to do with the usage of OneJar, which I believe it is about time to > abandon it. > I'll explain why. > > First of all, and more importantly, XMLVM jar is HUGE. And it is not only > huge, it is huge for NOT a good reason. In general, it is not a bad idea to > "statically link" all required objects inside a file. But if this file is in > the order of 30MB, I think we are going to have a lot of problems with it, in > regards to (a) space - the obvious, (b) time, in order to unzip items inside > an already zipped file (c) packager complexity, since for example some classes > (like the iphone compatibility library or the chassis & various icons) needed > to be at most one level down inside the JAR file (d) developer complexity, > such as the problems we are talking now and probably others... > > But this is not all. I was in the process of adding XMLVM to the MacPorts > repository, in order to "advertise" it and make it more "accessible" to the > people, who would like a tool that "just works" (you know how obsessed I am > with this paradigm). > Unfortunately we can't - not as long as all libraries are inside XMLVM. > All distributions love small split packages, especially if there is a well > documented, supported and easily provided library for each part. No sane > distribution will allow OpenJDK to be "integrated" inside XMLVM, and I > couldn't agree more. > Moreover, since (all?) libraries used in XMLVM are open source and have a > rapid development, XMLVM project could benefit of the multi-jar approach. This > is the reason all other projects prefer to have (even a private) lib directory > and keep all jars there, instead of packaging them inside a single Jar. > > Last, but not least is that multi-jar approach could speed up things. > xmlvm.jar could be compiled much faster (and on demand), android compatibility > Jar could be created much faster etc etc. The whole procedure could be easier > and more organized. If a library changes, there is no need to compile > everything from scratch. Not to mention that this approach is practically > "optimized" nowadays, since all other projects follow it. > > The only real benefit is that XMLVM can be distributed just by one file. But > this could be the case anyhow. It can be packaged and everything will be fine. > Actually things are even better: instead of saying in the documentation to use > the command "java -other-jvm-parameters -jar path-of-xmlvm/xmlvm.jar > -actual-xmlvm-parameters", which is known to most java developers, but it is > not "pretty", by using a specialized bash script things could be as easy (and > straight forward) as "xmlvm -actual-xmlvm-parameters". > > ... and as always, I volunteer to perform this change :) > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Panayotis K. <pan...@pa...> - 2010-09-17 07:51:17
|
This is a topic I find it really important for the future of XMLVM, since I've seen that there are some development decisions which should be "updated". It has to do with the usage of OneJar, which I believe it is about time to abandon it. I'll explain why. First of all, and more importantly, XMLVM jar is HUGE. And it is not only huge, it is huge for NOT a good reason. In general, it is not a bad idea to "statically link" all required objects inside a file. But if this file is in the order of 30MB, I think we are going to have a lot of problems with it, in regards to (a) space - the obvious, (b) time, in order to unzip items inside an already zipped file (c) packager complexity, since for example some classes (like the iphone compatibility library or the chassis & various icons) needed to be at most one level down inside the JAR file (d) developer complexity, such as the problems we are talking now and probably others... But this is not all. I was in the process of adding XMLVM to the MacPorts repository, in order to "advertise" it and make it more "accessible" to the people, who would like a tool that "just works" (you know how obsessed I am with this paradigm). Unfortunately we can't - not as long as all libraries are inside XMLVM. All distributions love small split packages, especially if there is a well documented, supported and easily provided library for each part. No sane distribution will allow OpenJDK to be "integrated" inside XMLVM, and I couldn't agree more. Moreover, since (all?) libraries used in XMLVM are open source and have a rapid development, XMLVM project could benefit of the multi-jar approach. This is the reason all other projects prefer to have (even a private) lib directory and keep all jars there, instead of packaging them inside a single Jar. Last, but not least is that multi-jar approach could speed up things. xmlvm.jar could be compiled much faster (and on demand), android compatibility Jar could be created much faster etc etc. The whole procedure could be easier and more organized. If a library changes, there is no need to compile everything from scratch. Not to mention that this approach is practically "optimized" nowadays, since all other projects follow it. The only real benefit is that XMLVM can be distributed just by one file. But this could be the case anyhow. It can be packaged and everything will be fine. Actually things are even better: instead of saying in the documentation to use the command "java -other-jvm-parameters -jar path-of-xmlvm/xmlvm.jar -actual-xmlvm-parameters", which is known to most java developers, but it is not "pretty", by using a specialized bash script things could be as easy (and straight forward) as "xmlvm -actual-xmlvm-parameters". ... and as always, I volunteer to perform this change :) |
From: Arno P. <ar...@pu...> - 2010-09-15 08:13:17
|
please note that we stopped updating the Makefile at some point. Of course XMLVM supports the iPhone simulator > 3.1, but only if you use Xcode. If someone cares to send a patch to update the Makefile, I'd be happy to merge it. Arno On 9/14/10 2:44 PM, Leo Izen wrote: > cannot find symbol for -lcrt1.10.5.o is a mistake apple made when > writing OS X leopard. > > On any other system, it looks for crt1.o. However, on Mac OS 10.5, Apple > made it look for crt1.*10.5*.o when compiling for Leopard, because the > default was to compile for 10.4, for increased compatibility. This is > fixed in 10.6 (Snow Leopard). > > To fix this yourself symbolically link crt1.10.5.o to crt1.o. I think > xmlvm is designed for Leopard, so it uses crt1.10.5.o instead of crt1.o. > > The symbol "undefined reference to main in -lcrt1.10.5.o" says that you > are not linking your project into the object file, or you don't have a > main function/method. The undefined reference in crt1.o is defined by > your main method. If you don't have a main method, then you will get > this error. > > On Tue, Sep 14, 2010 at 2:58 PM, Thomas Holzmann <hol...@gm... > <mailto:hol...@gm...>> wrote: > > Hi, > > I'm really like the idea of XMLVM and therefore wanted to try to > cross-compile one of my Android apps to iOS. > > Everything workes fine until I have to execute the makefile. It says: > > library not found for -lcrt1.10.5.o > > I looked into the Makefile and found out that it is configured to run on > iPhone simulator 3.1. I have the simulators 3.2, 4.0 and 4.1 installed > but not 3.1, so I tried to change it to 3.2 in the Makefile. > After that there was another error (undefined symbols in crt or > something like this). However, it also didn't work. > > So is there a possibility to get XMLVM to work on newer simulators or > does it just work on 3.1 at the moment? > > Thanks! > > Regards, > Thomas > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > <mailto:xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Panayotis K. <pan...@pa...> - 2010-09-15 08:13:06
|
On Sep 15, 2010, at 10:47 AM, Arno Puder wrote: > > one new feature of the C backend is that it can automatically generate C > wrappers from the Cocoa Java classes in org.xmlvm.iphone.*. What > basically happens is that everything that is publicly visible from those > classes is used to generate the C wrappers (for the Objective-C backend > all of this had to be written manually from scratch). > > You placed UIGenericToolbar in the org.xmlvm.iphone.internal package, > but used it at the same time as a base class for official Cocoa classes. > This makes UIGenericToolbar publicly visible and therefore I had to move > it out of the internal package. I consider this only a quick fix. > UIGenericToolbar is not an official Cocoa class and should not be used > as a base class. Once this is fixed, this class should of course be > moved back to the internal package. > > Arno > You are right. Well this is obviously the fastest solution to move one ;) |
From: Arno P. <ar...@pu...> - 2010-09-15 07:47:47
|
one new feature of the C backend is that it can automatically generate C wrappers from the Cocoa Java classes in org.xmlvm.iphone.*. What basically happens is that everything that is publicly visible from those classes is used to generate the C wrappers (for the Objective-C backend all of this had to be written manually from scratch). You placed UIGenericToolbar in the org.xmlvm.iphone.internal package, but used it at the same time as a base class for official Cocoa classes. This makes UIGenericToolbar publicly visible and therefore I had to move it out of the internal package. I consider this only a quick fix. UIGenericToolbar is not an official Cocoa class and should not be used as a base class. Once this is fixed, this class should of course be moved back to the internal package. Arno On 9/14/10 1:04 PM, Panayotis Katsaloulis wrote: > Well, every time I find something that I don't really like, I will post here :) > This time is with UIGenericToolbar > This was a helper object, to make programming of the emulator a bit easier. > I saw that you have removed it from the location "internal" and put it in the generic package. > This is wrong. Why was this change? > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Leo I. <leo...@gm...> - 2010-09-14 21:44:35
|
cannot find symbol for -lcrt1.10.5.o is a mistake apple made when writing OS X leopard. On any other system, it looks for crt1.o. However, on Mac OS 10.5, Apple made it look for crt1.*10.5*.o when compiling for Leopard, because the default was to compile for 10.4, for increased compatibility. This is fixed in 10.6 (Snow Leopard). To fix this yourself symbolically link crt1.10.5.o to crt1.o. I think xmlvm is designed for Leopard, so it uses crt1.10.5.o instead of crt1.o. The symbol "undefined reference to main in -lcrt1.10.5.o" says that you are not linking your project into the object file, or you don't have a main function/method. The undefined reference in crt1.o is defined by your main method. If you don't have a main method, then you will get this error. On Tue, Sep 14, 2010 at 2:58 PM, Thomas Holzmann <hol...@gm...> wrote: > Hi, > > I'm really like the idea of XMLVM and therefore wanted to try to > cross-compile one of my Android apps to iOS. > > Everything workes fine until I have to execute the makefile. It says: > > library not found for -lcrt1.10.5.o > > I looked into the Makefile and found out that it is configured to run on > iPhone simulator 3.1. I have the simulators 3.2, 4.0 and 4.1 installed > but not 3.1, so I tried to change it to 3.2 in the Makefile. > After that there was another error (undefined symbols in crt or > something like this). However, it also didn't work. > > So is there a possibility to get XMLVM to work on newer simulators or > does it just work on 3.1 at the moment? > > Thanks! > > Regards, > Thomas > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Sascha H. <sa...@xm...> - 2010-09-14 20:33:05
|
Good catch, just submitted the fix. On Tue, Sep 14, 2010 at 10:10 PM, Panayotis Katsaloulis < pan...@pa...> wrote: > On 14 Σεπ 2010, at 1:58 π.μ., Leo Izen wrote: > > > I just checkout out the latest version to see how the c backend is doing. > I just got this message: > > > > [Leo@chessman xmlvm]$ ant > > > > BUILD FAILED > > /home/Leo/xmlvm/build.xml:216: Directory /build/cocoa-java creation was > not successful for an unknown reason > > > > Total time: 11 seconds > > [Leo@chessman xmlvm]$ > > > > > > Does anyone have a clue why? > > Yes, there is a bug with current ant script :) > > Line 23 should be > <property name="xmlvm.cocoa-java" value="build/cocoa-java" /> > instead of > <property name="xmlvm.cocoa-java" value="/build/cocoa-java" /> > > And of course, you don't have write permissions under /build/cocoa-java > :) > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Panayotis K. <pan...@pa...> - 2010-09-14 20:10:20
|
On 14 Σεπ 2010, at 1:58 π.μ., Leo Izen wrote: > I just checkout out the latest version to see how the c backend is doing. I just got this message: > > [Leo@chessman xmlvm]$ ant > > BUILD FAILED > /home/Leo/xmlvm/build.xml:216: Directory /build/cocoa-java creation was not successful for an unknown reason > > Total time: 11 seconds > [Leo@chessman xmlvm]$ > > > Does anyone have a clue why? Yes, there is a bug with current ant script :) Line 23 should be <property name="xmlvm.cocoa-java" value="build/cocoa-java" /> instead of <property name="xmlvm.cocoa-java" value="/build/cocoa-java" /> And of course, you don't have write permissions under /build/cocoa-java :) |
From: Panayotis K. <pan...@pa...> - 2010-09-14 20:08:01
|
On 14 Σεπ 2010, at 9:49 μ.μ., Wolfgang Korn wrote: > Panayotis, > > without having a look into NSBundle.java I suggest not changing the > implementation right now. We are currently improving the Android > compatibility layer to support Android's resolution of alternative > resources (the resource folders with trailing modifiers like large, hdpi > etc in their names). I agree with you that all that strange Android > stuff should be removed from NSBundle.java. After adding support for > alternative resources in the Android compatibility layer we might get > rid of that stuff anyway. So I propose to postpone the changes to > NSBundle.java and see what is left to do when we are done with the > resource resolution implementation. Does that make sense to you? Yes I agree. The problem also right now is that I have this huge patch pending, and I am trying to make it work with the current version of XMLVM. It sounds again that a more liberal repository is required ;) like mercurial, so that I could see the core developer's current changes (which will not affect the "stable" branch) and you could see mine :) In any case, I am more than happy with your proposal :) |
From: Panayotis K. <pan...@pa...> - 2010-09-14 20:04:50
|
Well, every time I find something that I don't really like, I will post here :) This time is with UIGenericToolbar This was a helper object, to make programming of the emulator a bit easier. I saw that you have removed it from the location "internal" and put it in the generic package. This is wrong. Why was this change? |
From: Wolfgang K. <wol...@xm...> - 2010-09-14 19:19:02
|
Panayotis, without having a look into NSBundle.java I suggest not changing the implementation right now. We are currently improving the Android compatibility layer to support Android's resolution of alternative resources (the resource folders with trailing modifiers like large, hdpi etc in their names). I agree with you that all that strange Android stuff should be removed from NSBundle.java. After adding support for alternative resources in the Android compatibility layer we might get rid of that stuff anyway. So I propose to postpone the changes to NSBundle.java and see what is left to do when we are done with the resource resolution implementation. Does that make sense to you? -- Wolfgang Panayotis Katsaloulis wrote: > In the file > src/xmlvm2objc/compat-lib/java/org/xmlvm/iphone/NSBundle.java > I've seen that there is one more hack, in order to support Android. > I am talking about the extra code of the method > > public String bundlePath() > > which makes some tricks in oder to make some things visible to the android emulator. > > I believe this should not be like this. I think that any (strange) resolve of Android paths should be done in the Android compatibility layer. > I'd provide a patch, but right now I am trying to sync my repository with XMLVM's (it is some time…) and I don't want to do any changes right now, or else it will be a moving target. > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |