Jump to content
Excelsior Forums

All Activity

This stream auto-updates     

  1. Last week
  2. tzakowicz

    Build Using Jenkins

    I am attempting to use the excelsior-jet-maven-plugin on a Jenkins build server. Jenkins is running as a System account, and as such, uses C:\windows\system32\config\systemprofile\ as a USERPROFILE directory. When I build using my account and Eclipse, the directory used is C:\Users\<Username>. When Excelsior builds, it is attempting to write some configuration files to the above directory, including one called "<PROGRAM_NAME>.rsp". However, maven doesn't have the access to write files to that directory, so nothing is created. When XLink runs later in the process, it is unable to find that file, which fails the build. I would much rather write those files to the project's target directory, so they are cleaned up after every build. Is there a way to change the spot where the config files are written, preferably through the Maven plugin? Thanks in advance.
  3. Cuauh

    XDS 2.6 beta

    Hi, I am currently using XDS 2.6 beta on W10 and I am trying to use the debug tool xd. but when running it in consol : "xd main.exe" it crashes. It also crashes when I try to launch it using the double click. Does someone has any idea? Thanks. Here the 'his' interpreted stack trace : XDS History formatter, Version 2.0 (c) 1996-2001 Excelsior C:\XDS-2.60\bin\xd.exe WinMain.exe ------------------------------------------------------------------------------- #RTS: unhandled exception #15: ASSERT(FALSE,15) at line 259 of Console.mod ------------------------------------------------------------------------------- Source file LINE OFFSET PROCEDURE COMPONENT ------------------------------------------------------------------------------- Can't process file xd.exe Can't recognize module Unknown debug info format in xd.exe Can't recognize module Unknown debug info format in xd.exe Can't recognize module Unknown debug info format in xd.exe Can't recognize module Can't process file XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in XDS26.DLL Can't recognize module Unknown debug info format in xd.exe Can't recognize module
  4. Earlier
  5. geo

    Exe file size larger.

    Do you think it will grow even more with java 10? Or is it something particular with java 8?
  6. zztop

    Exe file size larger.

    Excelsior JET 9 supported Java 7 whereas Excelsior JET 15 supports Java 8. The growth is due to a larger amount of generated meta-data. The initial growth was bigger than 10% and we've been trying to reduce it with each subsequent release.
  7. Hello, I'm using same build files and jar on different versions of JET 15-eval and JET 9 PRO. The JET 15 generated exe and DLL are about 10% larger than JET 9. According to change.log there is a improvement that suppose to reduce file size. What could be the cause? BR, Geo
  8. Ok, thank you! I don't have Modula-2 specification on hand and [PIM] provides these samples: 15 DIV 4 = 3 -15 DIV 4 = -3 15 DIV (-4) = -3
  9. That's a question to the authors of the specification. Use / and REM instead of DIV and MOD if the divisor can be negative.
  10. Runtime error occures: #RTS: unhandled exception #6: zero or negative divisor at line 6 of negdiv.mod while executing negdiv.exe generated from the source code: MODULE negdiv; VAR a, b, c: INTEGER; BEGIN a := 100; b := -10; c := a DIV b; END negdiv.
  11. Hello , I have a similar error , please help me with a hint (I struggle to find the solution for too long time) : org.apache.catalina.core.ApplicationContext log SEVERE: StandardWrapper.Throwable java.lang.ArrayIndexOutOfBoundsException at jersey.repackaged.org.objectweb.asm.ClassReader.readShort(Unknown Source) at jersey.repackaged.org.objectweb.asm.ClassReader.<init>(Unknown Source) at jersey.repackaged.org.objectweb.asm.ClassReader.<init>(Unknown Source) at jersey.repackaged.org.objectweb.asm.ClassReader.<init>(Unknown Source) at org.glassfish.jersey.server.internal.scanning.AnnotationAcceptingListener.process(Unknown Source) at org.glassfish.jersey.server.ResourceConfig.scanClasses(Unknown Source) at org.glassfish.jersey.server.ResourceConfig._getClasses(Unknown Source) at org.glassfish.jersey.server.ResourceConfig.getClasses(Unknown Source) at org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig._getClasses(Unknown Source) at org.glassfish.jersey.server.ResourceConfig.getClasses(Unknown Source) at org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.<init>(Unknown Source) at org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.<unknown>(Unknown Source) at org.glassfish.jersey.server.ResourceConfig.createRuntimeConfig(Unknown Source) at org.glassfish.jersey.server.ApplicationHandler.<init>(Unknown Source) at org.glassfish.jersey.servlet.WebComponent.<init>(Unknown Source) at org.glassfish.jersey.servlet.ServletContainer.init(Unknown Source) at org.glassfish.jersey.servlet.ServletContainer.init(Unknown Source) at javax.servlet.GenericServlet.init(Unknown Source) at org.apache.catalina.core.StandardWrapper.initServlet(Unknown Source) at org.apache.catalina.core.StandardWrapper.load(Unknown Source) at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown Source) at org.apache.catalina.core.StandardContext.startInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.start(Unknown Source) at org.apache.catalina.core.ContainerBase.addChildInternal(Unknown Source) at org.apache.catalina.core.ContainerBase.addChild(Unknown Source) at org.apache.catalina.core.StandardHost.addChild(Unknown Source) at org.apache.catalina.startup.HostConfig.deployDirectory(Unknown Source) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.apache.tomcat.util.threads.InlineExecutorService.execute(Unknown Source) at java.util.concurrent.AbstractExecutorService.submit(Unknown Source) at org.apache.catalina.startup.HostConfig.deployDirectories(Unknown Source) at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source) at org.apache.catalina.startup.HostConfig.start(Unknown Source) at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown Source) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(Unknown Source) at org.apache.catalina.util.LifecycleBase.setStateInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.setState(Unknown Source) at org.apache.catalina.core.ContainerBase.startInternal(Unknown Source) at org.apache.catalina.core.StandardHost.startInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.start(Unknown Source) at org.apache.catalina.core.ContainerBase$StartChild.call(Unknown Source) at org.apache.catalina.core.ContainerBase$StartChild.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.apache.tomcat.util.threads.InlineExecutorService.execute(Unknown Source) at java.util.concurrent.AbstractExecutorService.submit(Unknown Source) at org.apache.catalina.core.ContainerBase.startInternal(Unknown Source) at org.apache.catalina.core.StandardEngine.startInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.start(Unknown Source) at org.apache.catalina.core.StandardService.startInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.start(Unknown Source) at org.apache.catalina.core.StandardServer.startInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.start(Unknown Source) at org.apache.catalina.startup.Catalina.start(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Unknown Source) at org.apache.catalina.startup.Bootstrap.main(Unknown Source) Thank you in advance
  12. Error "Can't open template file ... The filename, directory name, or volume label syntax is incorrect." occures when create new project using IDE menu item "Project - New" (see attached screenshot). Button "Browse" doesn't function for the field "Template". Environment: Fresh installation of the "xds-260-beta2-win32.exe" with default settings. Operating systems: Windows 2000, Windows 10. Workaround: 1) Open "New Project Creation Options" dialog: Configure - Project Creation. 2) Remove bounding quotes from the values of the fields "Default template", "Default RED file". 3) Save new settings pressing button "Ok".
  13. zabquart

    Unable to load ini files as command line args

    "When you prepare the application for deployment using the JetPackII tool, the same problem can arise again. Typically, this happens for resource files that reside in directories, not in jar/zip files /The JET Optimizer packs resource files located in jar/zip classpath entries into executable by default. Thus, generally there is no way to forget them to include to the deployment package unless you decided to leave those jar/zip files separate from the executable./ . Classpath entries that are directories are always left separate from executable with all contained resource files. Using JetPackII, you have to add such directories to the package and assign them to respective classpath entries." Can this be done with ExcelsiorJet Maven plugin?
  14. zabquart

    Unable to load ini files as command line args

    Going to bump this. Is this even possible?
  15. Hi, I'm trying to compile a Tomcat Web Application into a native executable. The test run within Control Panel works correctly however when running the generated executable it's throwing a ClassCastException on the class com.sun.xml.ws.transport.http.servlet.WSServlet. The jax-ws dependencies currently reside in <webapp>/WEB_INF/lib. Is there something more I need to do with them? Thanks!
  16. Great, I'll try that Sorry I come here late, because I believe I have not received any email notifying me of a reply.
  17. zztop

    Decompress .bin package

    Did you follow the installation instructions for OS X given at https://www.excelsiorjet.com/evaluate#install ?
  18. drg

    Decompress .bin package

    I downloaded the trial version to my MacBook. When I double click on it, it generates a .cpgz file. When I double click on the .cpgz file, another .bin file is generate. And then it goes corcular. I tested on two MacBooks.
  19. You can use ProGuard for your jars before compiling. It can help you remove some classes, if you believe they are not used. But do not forget to test your app on JRE after that - just to make sure you did not swept used classes by mistake.
  20. So the questions are - Am I doing correctly ? - If yes, then can I do something else to reduce the exe file ?
  21. Thanks for the excellent product. Now I'd like to prevent ExcelsiorJet from copying all the class file of the 3rd party .jar files into my final native (say .exe) file. Say if my code depends on ClassA in lib.jar, I don't want ExcelsiorJet to copy also ClassB, ClassC, ClassD inside that lib.jar into my final to be generated app.exe Versions - Excelsior 15, JDK 1.8.0_144, Tomcat 8.0, How can I do that ? Thanks ----------------------------------------- These are the steps I did to achieve an .exe file 1) Use maven-assembly-plugin to put all depended jars into a single jar named client-jar-with-dependencies.jar <build> <finalName>client</finalName> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <configuration> <executable>java</executable> <arguments> <argument>-Xms512m</argument> <argument>-Xmx512m</argument> <argument>-XX:NewRatio=3</argument> <argument>-classpath</argument> <classpath/> <argument>com.crcc.btx.ClientRunner</argument> </arguments> </configuration> </plugin> <!-- Maven Assembly Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> <executions> <execution> <id>make-assembly</id> <!-- bind to the packaging phase --> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <!-- get all project dependencies --> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <!-- MainClass in mainfest make a executable jar --> <archive> <manifest> <mainClass>com.crcc.btx.ClientRunner</mainClass> </manifest> </archive> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.excelsiorjet</groupId> <artifactId>excelsior-jet-maven-plugin</artifactId> <version>1.2.0</version> <configuration> <mainClass>com.crcc.btx.ClientRunner</mainClass> </configuration> </plugin> </plugins> </build> 2) Run the following to have client-jar-with-dependencies.jar mvn clean package 3) Rename the .jar file because Excelsior only takes client.jar as input cp client-jar-with-dependencies.jar client.jar 4) Generate the exe file on Windows mvn jet:build Now I would see that excelsior is busy including 15783 files into the final client.exe file, which is 59 MB. This is too much
  22. I gather this is a classpath problem... I have the following directory structure. myapp.exe /config /config/Config.ini The config directory is not part of the excelsior jet's class path so files contained within cannot be loaded. I would like to add it during runtime to the class path using a batch file which seems to be the easiest way from what I've read. Using the JETVMPROP environment variable this should be doable. However anytime I modify it I get errors that it cannot find the applications classes. So I think I'm blowing away the existing class path. I've tried things similar to set JETVMPROP="-Djava.class.path=%CLASSPATH%./config" Still no dice however. I've tried variations using ; delimiters and fully qualified paths C:\\path\\to\\my\\config.. Still no dice. I am using the Excelsior Jet Maven plug in to copy the files during compilation into the config directory. <packageFiles> <packageFile> <path>src/main/external-resources/Config.ini</path> <type>file</type> <packagePath>config</packagePath> </packageFile> </packageFiles> It is important the configuration files are not part of the compilation as I don't want them to be compiled into the jar file and then the exe. I want to have them external so I can modify them without the need to do another lengthy recompilation of the application. So even within the Java app themselves they sit outside the classpath, only in my development profile do I include them in the Netbeans classpath. Whats the point of a configuration file if you have to always recompile. Even placing the configuration file in the same directory as the exe, it still can't find it. Without Excelsior I can add the config directory to the classpath and run it just fine using the following command. Loading three separate ini files into the project via command line args. java -classpath pidx-1.0-jar-with-dependencies.jar:/Path/To/NetBeansProjects/com.lht.pidx/target/config com.lht.pidx.PidxApplication Config.ini Development.ini To_Local_Database.ini Any help, pointers or tips on how to resolve this would be greatly appreciated.
  23. zztop

    JC console output silent/quiet

    You can specify -decor=h on the JC command line.
  24. kruherson

    JC console output silent/quiet

    Can I disable/suppress output of Excelsior Jet JC.exe tool? I am running in CMD and want to make nicer output without JC.exe output (just results). I looked in to Guide Chapter 17 JC reference, but I found nothing.
  25. Yes please check forum of lwjgl You need JVMTI to excelsior jet thanks
  26. Problem is, Oracle does not provide the CACERTS file to its Java licensees. Each JVM vendor has to enter into certificate redistribution agreements with all CAs separately. Thanks for pointing our attention to the problem.
  27. Does it work on 64-bit Oracle JRE if you use lwjgl 3.1.x?
  1. Load more activity
×