> > I think BCEL have some advantages over Objectweb ASM and other one. > > For example for reflection it don't depends on Java reflection. So the > > classes don't need to be in the classpath. > > I know, that it isn't so fast like SVN. But a tool like SVN have to be more > > things like creating code. Reflection is one of that additional things. > > Hm. You seem to be mixing things up a little :) > It's ASM not SVN.
You are right. My mistake. Sorry. > For ASM usually you don't have to have the classes in the classpath. > In fact BCEL itself has some design problems in that direction. > > https://issues.apache.org/bugzilla/show_bug.cgi?id=38057 > > Maybe describe what you want to do a bit more. I want to add additinal jar files and so on the fly to a project. Ok, start at the beginning. Look at this BASIC-Compiler with IDE for the JavaVM. The IDE and compiler of it is closedsource and are Windows-native binaries. But it creates files for the JavaVM. And the runtime is OpenSource at http://code.google.com/p/jabacoframework/ If you don't have Windows or don't want to instal it, here are the sample programs: http://jbaindi.googlecode.com/files/Samples.zip and compiled: http://jbaindi.googlecode.com/files/SamplesCompiled.zip The sources are XML-files with encapsulated BASIC-source code. Here an example of it: http://code.google.com/p/jabacoframework/source/browse/trunk/Framework/src/VB/uGraphics.jsrc I have already written a little FormViewer: http://jba-tools.googlecode.com/files/FormViewer.jar http://jba-tools.googlecode.com/files/FormViewer-src.zip which shows the XML-form files using Java reflection. But in this case, the GUI have to be in the program which is running and so it is ok. But now I want to compile it and using Jar-files which are noch in the classpath for example. I want something where it is possible that one file exists in two versions duplicated. A file "myClassPath.MyFile" which is used in the compiler itself and a different version of it with the same name, which will be used as library for the compiled program! So I can not make use of the Java Reflection. Because with Java Reflection I can only access to files which are part of the classpath of the current program which runs (the compiler). Greatings theuserbl --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
