Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (off)  | Unanswered Messages (on)

Forum: Sirius
 Topic: Announce pxDoc document generation tool v1.1.1
Announce pxDoc document generation tool v1.1.1 [message #1796573] Tue, 16 October 2018 10:01
Thomas Silbermann is currently offline Thomas SilbermannFriend
Messages: 1
Registered: October 2018
Junior Member
Dear all,

We are pleased to announce the release of pxDoc v1.1.1, a new way of producing Word documents! (and PowerPoint presentations in a near future)

With only ~30 keywords added to the Java world, pxDoc provides you with a dedicated, simple and powerful programming language entirely designed and thought to facilitate and accelerate the implementation of your specific document generators.

Since pxDoc works at the Java level directly, you can take any Java object as input for your generation:
  • Data from your models (UML, MBSE, BPMN...)
  • Data from your databases
  • Data from your test reports, build reports...
  • Data from anywhere in your IS system...

pxDoc generates Word .docx files natively, with high performance and quality levels.

EFFICIENT
  • Easy to learn and implement
  • Easy to maintain
  • Opened to any data that can be accessed through Java (db, files, services, etc.)
  • Document generators can be implemented independently of any particular Word stylesheet (dotx) to maximize their reusability
  • Generation scripts can be reused from one generator to another

PRAGMATIC
  • Design complex table with automatic vertical merge capability
  • Specify "manual parts" that will not be erased when re-generating the document
  • Apply styles directly from your corporate Word stylesheets (dotx)

POWERFUL
  • Fully integrated in Eclipse (auto-completion, correction, debugging...)
  • pxDoc engine can create thousands of pages and documents in seconds
  • Capability to generate multiple documents at once (e.g. one document per element type, architecture...)

HIGHLY EXTENSIBLE
  • Enablers available for Eclipse, EMF, Capella, Sirius, Papyrus and others to come soon
  • Implement your own enablers, diagram providers, language renderers for your specific environment

INTEGRATION WITH SIRIUS
A dedicated Sirius enabler is available, including examples (for Sirius, EMF...). This enabler allows to:
  • Launch a document generation from any Sirius object
  • Include Sirius Diagrams (request by name, by type...) with their name and description
  • Get any data from your Sirius models with simplified but powerful requests directly at Java level

And remember, pxDoc is not limited to Sirius: you can use it with any source data accessible with Java!

Have a look at https://www.pxdoc.fr and do not hesitate to contact us if you have any difficulties starting with pxDoc: contact@pxdoc.fr

Have fun with pxDoc!

INSTALLATION INSTRUCTIONS
  1. First, install the required XText SDK (update-site https://www.eclipse.org/Xtext/download.html)
  2. Install pxDoc ( https://marketplace.eclipse.org/content/pxdoc)
  3. Install the Sirius integration (https://marketplace.eclipse.org/content/pxdoc-sirius-integration)[/url])


 Topic: Sirius at EclipseCon EU 2018
Sirius at EclipseCon EU 2018 [message #1796482] Mon, 15 October 2018 06:32
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 448
Registered: July 2009
Senior Member
Hi all,

For those of you who will be present at EclipseCon Europe next week, several talks by Obeo or others will talk about Sirius:



See the full program for more details and many other great talks.

Obeo will have a booth at the conference, so do not hesistate to drop by and talk to us.

Hope to see you there!


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Forum: Newcomers
 Topic: Tomcat - Persistent Object
Tomcat - Persistent Object [message #1796599] Tue, 16 October 2018 12:20
Camille Lola is currently offline Camille LolaFriend
Messages: 2
Registered: August 2018
Junior Member
Hi Guys,

Recently I am facing a crazy problem, I am running a servlet that recommends items based on a data model. The data model has to be loaded into an object from a database each time user makes a request to the server and since the data is the same for all the users I would like this object to be loaded once only. I am very new to Tomcat and don't know where to look so any advice will be appreciated.

Thanks & Regards
Camillelola
 Topic: column reasizing
column reasizing [message #1796499] Mon, 15 October 2018 11:46
sharmila naik is currently offline sharmila naikFriend
Messages: 1
Registered: October 2018
Junior Member
Hi,
Does column resizing in nebula NatTable depends upon zoom factor setting of machine?
 Topic: Eclipse and Hudson build server
Eclipse and Hudson build server [message #1796483] Mon, 15 October 2018 06:35
tjarco Boerkoel is currently offline tjarco BoerkoelFriend
Messages: 1
Registered: October 2018
Junior Member
Dear readers,

I'm looking for the possibility to have multiple users coding on projects within Eclipse IDE, have them tracked and managed by git and have one uniform build environment on a central "build server".

I was thinking about Hudson because they are both with Eclipse foundation so I tried to create a test setup.

I'm having an Eclipse IDE running on a workstation and have installed Hudson on a server. Now I need to move the (Texas instruments) build tools from eclipse to Hudson, but I'm not sure where to put hem and how to call/specify them inside a Job (ANT?).

Is there some info or could someone point me in the right direction?

Best regards,
 Topic: java.lang.NullPointerException when installing Eclipse
java.lang.NullPointerException when installing Eclipse [message #1796461] Sat, 13 October 2018 19:28
Tom Tom is currently offline Tom TomFriend
Messages: 1
Registered: October 2018
Junior Member
OS: MacOs Mojave 10.14
Java -version:
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
__________

Hey guys.
Im trying to install Eclipse (SimRel 2018‑09) but it is simply not working. Neither with the Installer nor with the .dmg File.

I first tried to install Eclipse through the .dmg file. This way, Eclipse starts with an blank page. Trying to create a new project though File->New Project, nothing happens or an java.lang.NullPointerExcption occurs.

Running the Installer i get the following Alert (full Alert in the attachments):
Java was started but retuned exit code=1
-Xms256M
-Xmx1024M
-XstartOnFirstThread
..

The -Xms256M line reminds me of that I tried some years ago to increase the memory for Java/Eclipse. Later I uninstalled Eclipse. May this have something to do with the current problem?

I uninstalled Java multiple times

I appreciate any answer!

[Updated on: Sun, 14 October 2018 09:47]

Report message to a moderator

 Topic: Difference between Python Module, Python Package, File and Source Folder
Difference between Python Module, Python Package, File and Source Folder [message #1796430] Fri, 12 October 2018 19:56
Tobias Schäfer is currently offline Tobias SchäferFriend
Messages: 4
Registered: July 2018
Junior Member
Dear community,

I would like to learn Python programming, but after installing PyDev in Eclipse there are some open questions.
1. What is the difference of Python Module, Python Package, File and Source Folder?

I want to program in modulated programming. So in one file I would like to import all used libraries and do some general configuration etc.. In another file I want to have a main-function where I can start all functions. The functions should be stored in own files.

2. What is the meaning of the "src"-folder and what will happen if i create a file, module etc. outside this folder?

3. Can I create beyond the "src"-folder another folders and what would be sense if I do this?

Sorry for asking but in the Internet I don't found satisfactory answer to these questions.

Thank you so much for answering for a beginner :)
Tobias
 Topic: keep getting "unable to find interpreter...." error
keep getting "unable to find interpreter...." error [message #1796408] Fri, 12 October 2018 13:24
Peter Habbord is currently offline Peter HabbordFriend
Messages: 1
Registered: October 2018
Junior Member
Hey guys,

i am really desperate right now since I just cant fix the Error that Eclipse gives me. When I try to add a new Interpreters for eclipse manually it gives me this error "unable to get info on the interpreter C:\..:". I have tried Python 2.8, 3.4, 3.6, 3.7... I mainly need python 3. I just cant find a solution so you guys are my last hope I guess.

I have uploaded a picture of the error I keep getting.

Thanks in advance!
  • Attachment: Error.png
    (Size: 23.79KB, Downloaded 4 times)
 Topic: Equinox.ds Log Format Explanation
Equinox.ds Log Format Explanation [message #1796381] Fri, 12 October 2018 06:55
Abhijeet BAnerjee is currently offline Abhijeet BAnerjeeFriend
Messages: 1
Registered: October 2018
Junior Member
Hi Below is the format I am getting, I am curious to know, what is the format of equinox log especially[b](what 1 0 denotes )]/b] in below-given example

!ENTRY org.eclipse.equinox.ds 1 0 2018-10-03 15:27:00.540 Messages
Forum: C / C++ IDE (CDT)
 Topic: How long you LEARN C++ and C#
How long you LEARN C++ and C# [message #1796581] Tue, 16 October 2018 10:44
Feng Grad is currently offline Feng GradFriend
Messages: 1
Registered: October 2018
Junior Member
I became a successful UI developer
but now I want to learn C++ and C#. I want to become a successful programmer.
I have many questions:
1. How long must I learn C++ and C# before I can create my own projects?
2. How better start to learn, with the teacher or by independently?
 Topic: first opening for Eclipse IDE C++: errors
first opening for Eclipse IDE C++: errors [message #1796497] Mon, 15 October 2018 11:03
Francesco Pugliese is currently offline Francesco PuglieseFriend
Messages: 3
Registered: October 2018
Junior Member
Dear all,
i have a problem with eclipse IDE for c/c++ developers. That problem consist of a generate of errors in file .log about something . These are the errors:

!SESSION 2018-10-15 13:02:11.416 -----------------------------------------------
eclipse.buildId=4.3.2.M20140221-1700
java.version=10.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.osgi 4 0 2018-10-15 13:02:12.061
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:233)
at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:656)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:275)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)
... 11 more
Caused by: java.lang.IllegalStateException: The System Bundle could not be resolved: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState(BaseStorage.java:827)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager(BaseStorage.java:800)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.getState(BaseAdaptor.java:387)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkStart(BaseStorage.java:923)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:250)
at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:60)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 13 more
How can I do?
thanks in advance
 Topic: Please help me compile on Mac!!???
Please help me compile on Mac!!??? [message #1796476] Sun, 14 October 2018 16:23
ashish munde is currently offline ashish mundeFriend
Messages: 16
Registered: September 2018
Junior Member
I'm running a simple program that works perfectly on visual studio. I'm on a Mac and I installed eclipse and llvm. Here is my error:

03:31:08 **** Incremental Build of configuration Debug for project pointClass ****
Info: Internal Builder is used for build
clang++ -v -native -o pointClass test.bc point.bc
clang: error: unknown argument: '-native'
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0 https://www.minimilitia.mobi/ https://www.applock.ooo/ https://www.7zip.vip/

Thread model: posix

03:31:08 Build Finished (took 78ms)

How can I fix this? Also, how can I permanently include iostream in every project (instead of adding the path to each individual project)?

Many thanks.

[Updated on: Sun, 14 October 2018 20:23]

Report message to a moderator

 Topic: Problems with the installation for Eclipse IDE C++
Problems with the installation for Eclipse IDE C++ [message #1796424] Fri, 12 October 2018 16:37
Francesco Pugliese is currently offline Francesco PuglieseFriend
Messages: 3
Registered: October 2018
Junior Member
Dear all,
I have a problem in the first entrance of eclipse despite i installed and update java. The problem consist of error generate in the 1539359265512.log and it is :



10 -----------------------------------------------
eclipse.buildId=4.3.2.M20140221-1700
java.version=10.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.osgi 4 0 2018-10-12 17:47:45.896
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:233)
at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:656)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:275)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)
... 11 more
Caused by: java.lang.IllegalStateException: The System Bundle could not be resolved: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState(BaseStorage.java:827)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager(BaseStorage.java:800)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.getState(BaseAdaptor.java:387)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkStart(BaseStorage.java:923)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:250)
at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:60)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

please HELP me!
 Topic: Yocto SDK Autotools static library project
Yocto SDK Autotools static library project [message #1796411] Fri, 12 October 2018 14:03
frederic loreaud is currently offline frederic loreaudFriend
Messages: 1
Registered: October 2018
Junior Member
Hi,

After successfully installing Eclipse Photon CDT and Yocto SDK I'm trying to create a cross-compilation static library project.

While creating projects I'm able to create Yocto Project SDK Autotools projects:
_ Empty C++ Autotools Project
_ Hello World C++ Autotools Project

HelloWorld projects compiles well and executes on target.

I looked for Properties>C/C++Build>Settings>Build Artifact tab but it doesn't appear in HelloWorld project properties ...

I hoped to change it from executable to static library that way ...

I read that starting from Empty project is a bad idea ... too many settings ...

Am I missing something obvious or looking for something foolish ?

Thanks.
 Topic: Why does everyone hate Eclipse?
Why does everyone hate Eclipse? [message #1796383] Fri, 12 October 2018 07:52
John Dias is currently offline John DiasFriend
Messages: 2
Registered: October 2018
Junior Member
As part of a school challenge, i'm searching into the public notion that human beings see Eclipse as "sluggish, buggy and volatile". most of the people I communicate with who are Java builders says that Eclipse would be the remaining tool they could use and people who might use it has "no respect for his or her code". If it sincerely is that awful, why does not the Eclipse network understand those problems and do something positive about it?

One idea i have is that the detest among IDEs is much like what gear you are used to work with. I hated home windows 8 within the beginning once I started the usage of it, however I got used to it and now i'd choose the use of home windows eight above home windows 7. developers frequently suppose the manner they they are used to do things is frequently "the simplest correct and right manner" to do something and changing a developers dependancy is usually pretty tough.
 Topic: [SOLVED] debugger suddenly stopped working(debugger does not reach breakpoint in main)
[SOLVED] debugger suddenly stopped working(debugger does not reach breakpoint in main) [message #1796310] Wed, 10 October 2018 09:23
smilesmile smilesmile is currently offline smilesmile smilesmileFriend
Messages: 1
Registered: October 2018
Junior Member
EDIT: I recreated the debug configuration, which solved the problem. Should have done that before posting ...

Hi,

I am on ubuntu linux, Eclipse and the debugger where working fine.
Suddenly it does not work anymore. The breakpoint in main (which is set automatically) is never reached and the program also does not do anything. But the debugger process is also not terminated.
gdb takes 100% CPU power, clicken on stop or pause has no effect.

When I debug the program on the console (using command line gdb) everything works.

Any Ideas what I could look into what this could be?

Thanks!
Nathan

EDIT:
This is gdbs output, I do not know if it was different when it was working:
Code: [Select all] [Show/ hide]
Reading symbols from <my-application>...done.
new-console on
Undefined command: "new-console". Try "help".
warning: the debug information found in "/lib/ld-2.12.1.so" does not match "/lib/ld-linux.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//lib/ld-2.12.1.so" does not match "/lib/ld-linux.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib/ld-2.12.1.so" does not match "/lib/ld-linux.so.2" (CRC mismatch).

Stopped due to shared library event
[Thread debugging using libthread_db enabled]
Stopped due to shared library event
Forum: Eclipse Titan
 Topic: Performance Testing of OPC-UA
Performance Testing of OPC-UA [message #1796638] Tue, 16 October 2018 18:29
Avdoot Chalke is currently offline Avdoot ChalkeFriend
Messages: 20
Registered: April 2017
Junior Member
Hello,
I wanted to implement certain test cases for OPC-UA in order to determine performance with respect to "response time", "CPU utilization", "multiple requests", etc. So, can I implement such test cases in opc-ua adapter? Will OPC-UA adapter able to handle multiple requests simultaneously as one of the test case will include load testing.

Thanking you in advance!

With Regards,
Avdoot Chalke
Forum: PHP Development Tools (PDT)
 Topic: Updates to Xdebug Support within PDT.
Updates to Xdebug Support within PDT. [message #1796640] Tue, 16 October 2018 18:44
ashish munde is currently offline ashish mundeFriend
Messages: 16
Registered: September 2018
Junior Member
For all those who are interested in XDebug support in PDT, I thought I would quickly list the
changes made that should make it into PDT 1.0.1 M1.

1. fixed expression view so that expression results are not modifiable
2. fixed the URL dialog to have the previous value show up as the latest (not xdebug specific)
3. Stop URL uses the NO_EXEC version, so script not re-executed
4. fixed issue where strings containing base64 code were decode to bytes using the wrong encoding.Akinator Xender Kik

5. xdebug support should be more robust to unexpected and incorrect flows from xdebug itself
6. fixed the variables view so that it doesn't keep refreshing and collapsing arrays/objects
7. break on first line checkbox honoured correctly in EXE launch
8. working directory for an EXE launch will be the same as the script location if the environment
variable "XDEBUG_WORKING_DIR" is defined in the EXE launch. This can be set to anything, and is
a temporary workaround until the EXE launch can have a proper GUI option to select the working directory
9. With a Web script launch you should now be able to select a just a project or folder and the
automatic path mapping work the same as if you have selected a specific file.
10. Debugging multisession support - This is not enabled by default, but will allow you to have
multiple web script debug sessions running concurrently. I have yet to write this up in the document
on using XDebug, but will do so in the future.


Look forward to getting some feedback on these changes.

[Updated on: Tue, 16 October 2018 21:16]

Report message to a moderator

 Topic: ignoring custom tags
ignoring custom tags [message #1796639] Tue, 16 October 2018 18:43
ashish munde is currently offline ashish mundeFriend
Messages: 16
Registered: September 2018
Junior Member
Hi,

We're using our own home brewed custom tags in our projects to give our
sites multi-lingual support. They look like this:

%FIRSTNAME%

This would be replaced with for example "First Name" on a sign up page and
is embedded in all our PHP code. We then run the PHP files through a
pre-processor that replaces the language tags with the language text
before copying them into the web root.
https://discord.software/ https://downloader.vip/adobe-reader/ https://downloader.vip/itunes/

We are interested in using eclipse with its "Report problems as you type"
feature, but it obviously reports our language tags as problems too.

Can anyone suggest a way around this problem?

Thanks

[Updated on: Tue, 16 October 2018 21:14]

Report message to a moderator

 Topic: Operation lockout after starting multiple operations
Operation lockout after starting multiple operations [message #1796457] Sat, 13 October 2018 14:28
ashish munde is currently offline ashish mundeFriend
Messages: 16
Registered: September 2018
Junior Member
Hi,

I'm not sure whether or not this is a PDT issue or something deeper in
Ecplise, but since I started using Eclipse I've been very aware of the
absolute danger of having more than one operation running at a time. With
operation I mean almost anything given that can be "run in background".
You are often tempted by this, I mean it should in theory mean you could
continue to work. But very often what I end up with is a operation that is
going nowhere (Eclipse is using 0% of the CPU) while I have other
operations, such as file saving, behind waiting for it to finish. At times
I have had Eclipse standing in this state for an entire weekend without it
getting anywhere. Stopping the operations helps little as it seems Eclipse
are unable to really kill it (this might be a Windows issue). VidMate AnyDesk https://mobdro.onl/download/


I'm using the 1.0.3 Release Build on Windows XP SP 2 but have been having
this problem for as long as I can remember with Eclipse and PHP.

Thanks

[Updated on: Sat, 13 October 2018 19:50]

Report message to a moderator

Forum: BIRT
 Topic: Get file last modification date
Get file last modification date [message #1796637] Tue, 16 October 2018 18:22
nico sainte marie is currently offline nico sainte marieFriend
Messages: 1
Registered: October 2018
Junior Member
Hi all,

I would like to include in my reports the last modification date of the rptdesign file as a reference.
Is there any way to achieve this ? I didn't found anything on the net.

Thanks for your help.
 Topic: "Can not open the report archive" because of "IOException"
"Can not open the report archive" because of "IOException" [message #1796368] Thu, 11 October 2018 17:21
Tom Mising name is currently offline Tom Mising nameFriend
Messages: 29
Registered: July 2009
Junior Member
Hello,

I have a problem with old BIRT versions on WindowsXP. So sorry to say that, but there is really NO option to update those components :(

Using the following versions:
- Java6 u30 (and 45 tested)
- Tomcat6
- Latest XP with Updates (IE8)
- BIRT runtime 2.3.1 (again, I am so sorry to ask)

Normally everything works fine. But sometimes I got the popular error message "Can not open the report archive" in combination with "The process cannot access the file because it is being used by another process".
But there is definitely no other process. Windows Indexing is off and I only have one Java instance running.
The error does not occur every time. Sometimes it works for 20 calls, sometimes we have two errors in row.

My Stacktrace:
org.eclipse.birt.report.service.api.ReportServiceException: null; nested exception is: org.eclipse.birt.report.service.api.ReportServiceException: Can not open the report archive.
Show Exception Stack Trace
Hide Exception Stack Trace
Stack Trace:

org.eclipse.birt.report.service.api.ReportServiceException: null; nested exception is: org.eclipse.birt.report.service.api.ReportServiceException: Can not open the report archive. at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:164) at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81) at org.eclipse.birt.report.service.actionhandler.BirtGetPageActionHandler.__checkDocumentExists(BirtGetPageActionHandler.java:58) at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.prepareParameters(AbstractGetPageActionHandler.java:121) at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__execute(AbstractGetPageActionHandler.java:106) at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90) at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47) at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143) at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPage(BirtDocumentProcessor.java:87) at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112) at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66) at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:448) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:399) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) at java.lang.Thread.run(Unknown Source)Caused by: org.eclipse.birt.report.service.api.ReportServiceException: Can not open the report archive. at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1175) at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:155)... 46 moreCaused by: org.eclipse.birt.report.engine.api.EngineException: Can not open the report archive. at org.eclipse.birt.report.engine.api.impl.RunTask.openReportDocument(RunTask.java:172) at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:198) at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:90) at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1164)... 47 moreCaused by: java.io.IOException: The process cannot access the file because it is being used by another process at java.io.WinNTFileSystem.canonicalize0(Native Method) at java.io.Win32FileSystem.canonicalize(Unknown Source) at java.io.File.getCanonicalPath(Unknown Source) at org.eclipse.birt.core.archive.compound.ArchiveFile.(ArchiveFile.java:46) at org.eclipse.birt.core.archive.compound.ArchiveFile.(ArchiveFile.java:36) at org.eclipse.birt.core.archive.compound.ArchiveWriter.(ArchiveWriter.java:34) at org.eclipse.birt.core.archive.FileArchiveWriter.(FileArchiveWriter.java:27) at org.eclipse.birt.report.engine.api.impl.RunTask.openArchive(RunTask.java:147) at org.eclipse.birt.report.engine.api.impl.RunTask.openReportDocument(RunTask.java:158)... 50 more

Most of the times, everything works. But sometimes I got these errors.
I did nothing, did not restart, did not click anywhere else, just open the same report again and it works. Then I click again and it does not work any more.

Is there anybody out there who has an idea on what is going wrong?
If you have any questions, please do not hesitate to ask me.


Best regards,
Tom
 Topic: BIRT - Expression for Visibility doesn't work
BIRT - Expression for Visibility doesn't work [message #1796332] Thu, 11 October 2018 02:21
Chris Wilpert is currently offline Chris WilpertFriend
Messages: 1
Registered: October 2018
Junior Member
The visibility expression for an object in BIRT doesn't work. I bind the Dataset on the Grid (see "Bind Grid for Dataset.JPG"). There will be a black dot in each Cell. It will show if the Condition is true (see "Grid example.JPG")

My Expression / Condition for Visibility of the object (see "Visibility Expression.JPG")

row["Achievement"]=3 && row["Behavior"]=1


Why is it not working? I also tried different syntax e.g. ==3, ='3' and so on. The number is an Integer.So, normally not needed to treat it like a string.

Version: Luna SR2 (4.4.2) with BIRT
Forum: QVT-OML
 Topic: Multiple source objects to single target object
Multiple source objects to single target object [message #1796628] Tue, 16 October 2018 15:21
Gururaj Maddodi is currently offline Gururaj MaddodiFriend
Messages: 3
Registered: October 2018
Junior Member
Hello,

I'm new to QVT. The problem I have is to map several source objects to one target object based on some criteria such as same attribute value. An example is as below,

Source and target meta-models are attached. Now when transforming, all objects of ClassB with same value for attribute name should be in one ClassE object. So, basically number of source objects for ClassB is greater than that of ClassE after transformation. However, the number of objects of ClassC should be same as that of ClassF after transformation.

I'm not sure how to achieve this. Any suggestion will be very helpful.
Forum: Target Communication Framework
 Topic: Incomplete "Run configuration "
Incomplete "Run configuration " [message #1796618] Tue, 16 October 2018 14:10
Vaclav Sal is currently offline Vaclav SalFriend
Messages: 190
Registered: September 2014
Senior Member
There are no errors / feedback when "Run configuration" is incomplete.

The "Run -> Configuration " completes with this message

09:00:41 **** Incremental Build of configuration Debug for project VNA_2_CURRENT2 ****
make all
make: Nothing to be done for 'all'.

09:00:42 Build Finished (took 884ms)

I am posting this here in hope somebody in "TCF team" is reeding this forum.
I do not expect a solution from this forum.
If my post is in any way offensive to forum management, please delete it!.

Please no comments on " post a bug" - I did try !!!!


Forum: ATL
 Topic: launching has encountered a problem
launching has encountered a problem [message #1796616] Tue, 16 October 2018 13:59
faezeh khorram is currently offline faezeh khorramFriend
Messages: 5
Registered: September 2018
Junior Member
I am working on a transformation with ATL language. I have been written a transformation module (AnnotatedBPMN2ClassDiagram) and it was working properly but suddenly an error occurred when I want to run the project again. the error is:

'launching AnnotatedBPMN2ClassDiagram' has encountered a problem
An internal error occurred during: "Launching AnnotatedBPMN2ClassDiagram".
java.lang.NullPointerException

the target .xmi model is generated but it is empty
what should I do now??
My transformation module is attached
Forum: UML2
 Topic: XMI model versions
XMI model versions [message #1796538] Mon, 15 October 2018 21:18
Mohammadreza Sharbaf is currently offline Mohammadreza SharbafFriend
Messages: 18
Registered: February 2016
Junior Member

Hi all,

I'm looking for a collection of models that stored versions of each model in XMI format. Where can I find this?

Thanks,
Mohammadreza
Forum: EGit / JGit
 Topic: JGit : Problem with using the Bundlewriter
JGit : Problem with using the Bundlewriter [message #1796535] Mon, 15 October 2018 20:09
Christian Jeschke is currently offline Christian JeschkeFriend
Messages: 1
Registered: October 2018
Junior Member
Hey,
I try to write a Java application to bundle a git repository and write the bundle afterwards to a file. Unfortenly I get an Exception. I dived a little into the ResourceBundle Class and the Exception seems to be because of a missing ClassLoader. I would appreciate any hint I can't get. I attach both: the Exception I get and the code inside my main function.


java.lang.NullPointerException
	at java.util.ResourceBundle.getBundle(ResourceBundle.java:1026)
	at org.eclipse.jgit.nls.TranslationBundle.load(TranslationBundle.java:165)
	at org.eclipse.jgit.nls.GlobalBundleCache.lookupBundle(GlobalBundleCache.java:96)
	at org.eclipse.jgit.nls.NLS.get(NLS.java:132)
	at org.eclipse.jgit.nls.NLS.getBundleFor(NLS.java:118)
	at org.eclipse.jgit.internal.JGitText.get(JGitText.java:59)
	at org.eclipse.jgit.internal.storage.pack.PackWriter.beginPhase(PackWriter.java:938)
	at org.eclipse.jgit.internal.storage.pack.PackWriter.findObjectsToPack(PackWriter.java:1662)
	at org.eclipse.jgit.internal.storage.pack.PackWriter.preparePack(PackWriter.java:799)
	at org.eclipse.jgit.internal.storage.pack.PackWriter.preparePack(PackWriter.java:762)
	at org.eclipse.jgit.transport.BundleWriter.writeBundle(BundleWriter.java:210)
	at JGitTest.main(JGitTest.java:50)




public static void main(String[] args) throws IOException, GitAPIException {
    	
        File f‌ile = new File( "readme.txt" );
    	f‌ile.createNewFile();
    	Git git = Git.init().setDirectory( f‌ile.getParentFile() ).call();
    	git.add().addFilepattern("readme.txt").call();
        git.commit().setMessage("Initial commit").call();
        System.out.println("Committed file " + f‌ile + " to repository at " + git.getRepository().getDirectory());
        Ref HEAD = git.getRepository().getRef("refs/heads/master");
        if (HEAD == null)
        	System.out.println("HEAD not fund");
      
        BundleWriter bundlewriter = new BundleWriter(git.getRepository());
	File filebundle = new File( "file.bundle" );
	filebundle.createNewFile();
	System.out.println(mkdirs( filebundle.getAbsoluteFile().getParentFile() )); 
	OutputStream fos=null;
	fos=new FileOutputStream(filebundle);
	ProgressMonitor monitor = new EmptyProgressMonitor(){};
	try {
	      bundlewriter.include(HEAD);
	      bundlewriter.writeBundle(monitor, fos);
	} catch (Exception e){
                e.printStackTrace();
	}
 Topic: Error loading the SSH2 private keys
Error loading the SSH2 private keys [message #1796428] Fri, 12 October 2018 18:28
Stefano Scaccabarozzi is currently offline Stefano ScaccabarozziFriend
Messages: 1
Registered: October 2018
Junior Member
Dear community,

every time I try to perform a git operation I get the error message Auth fail. Searching inside the error logs I found out the error message is generated by the following exception:

com.jcraft.jsch.JSchException: invalid privatekey: [B@3dbd0e97
	at com.jcraft.jsch.KeyPair.load(KeyPair.java:664)
	at com.jcraft.jsch.KeyPair.load(KeyPair.java:561)
	at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:407)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:367)
	at org.eclipse.jsch.internal.core.Utils.loadPrivateKeys(Utils.java:105)
	at org.eclipse.jsch.internal.core.JSchCorePlugin.loadPrivateKeys(JSchCorePlugin.java:226)
	at org.eclipse.jsch.internal.core.JSchProvider.createSession(JSchProvider.java:45)
	at org.eclipse.egit.core.EclipseSshSessionFactory.createSession(EclipseSshSessionFactory.java:56)
	at org.eclipse.jgit.transport.JschConfigSessionFactory.createSession(JschConfigSessionFactory.java:200)
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:130)
	at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:140)
	at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:280)
	at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:170)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:137)
	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:123)
	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1271)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:243)
	at org.eclipse.egit.core.op.FetchOperation.run(FetchOperation.java:134)
	at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:110)
	at org.eclipse.egit.ui.internal.fetch.FetchOperationUI$1.performJob(FetchOperationUI.java:136)
	at org.eclipse.egit.ui.internal.jobs.RepositoryJob.run(RepositoryJob.java:59)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)


It seems there is some kind of issue reading the private SSH key, but I'm pointing to the same one I use from command line and everything is working well there.

Am I doing something wrong? Any idea of how I could get this fixed?

I'm working with Eclipse Photon (4.8.0) on linux Mint 19 Cinnamon.

Thanks in advance for your attention,
Stefano
Forum: Papyrus
 Topic: oxygen extend paletteDefinition
oxygen extend paletteDefinition [message #1796498] Mon, 15 October 2018 11:20
li Hua is currently offline li HuaFriend
Messages: 1
Registered: October 2018
Junior Member
Hi all,

I have done a SysML profile, I registered it and I added it to a plugin. I also show the profile properties in the properties view. All this work fine.

Now, I want customize activity diagram palettes in order to add the stereotyped classes to the palettes to make working with the profile easier.but it isnt work。
palette.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<paletteDefinition>
<content>
<drawer iconpath="/icons/Contraint1.gif" id="Contraint1_Drawer" name="Time_Contraint">
<aspectTool description="create timeContraint"
iconpath="platform:/plugin/ProfileContraintTest/icons/Contraint1.gif"
id="clazz.tool.class_Contraint_TimeContraint"
name="Time_Contraint(Class)"
refToolId="clazz.tool.class">
<postAction id="org.eclipse.papyrus.applystereotypeactionprovider">
<stereotypesToApply>
<stereotype stereotypeName="ProfileContraintTest::TimeContraint"/>
</stereotypesToApply>
</postAction>
</aspectTool>
</drawer>
</content>
</paletteDefinition>

plugin.xml
<extension
point="org.eclipse.papyrus.infra.gmfdiag.common.paletteDefinition">
<paletteDefinition
ID="ProfileContraintTest.palette"
class="org.eclipse.papyrus.infra.gmfdiag.common.service.ExtendedPaletteProviderConfiguration"
name="Real-Time Elements"
path="palette.xml">
<Priority
name="Medium">

</Priority>
<editor id="org.eclispe.papyrus.uml.diagram.clazz"/>
</paletteDefinition>
</extension>


 Topic: Decorate ModelExplorer-Element in Diagram
Decorate ModelExplorer-Element in Diagram [message #1796394] Fri, 12 October 2018 10:14
Fudo Miwa is currently offline Fudo MiwaFriend
Messages: 1
Registered: October 2018
Junior Member
Hello^^,

i am beginner in Eclipse and Papyrus developement, i would really appreciate if someone can point me in the right direction.

What I want to do is browse the ModelExplorer for specific elements and then decorate their corresponding diagram part.
For example I want to decorate the BDD-Element of a Block with name "Block_System". Below is my current code and "Decorate corresponding Element in BDD" marks the spot where I am stuck.


IViewDescriptor modelExplorerViewDesc = PlatformUI.getWorkbench().getViewRegistry().find("org.eclipse.papyrus.views.modelexplorer.modelexplorer");
IViewPart modelExplorerViewPart = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(modelExplorerViewDesc.getId());
ModelExplorerPageBookView modelExplorerPageBookView = (ModelExplorerPageBookView) modelExplorerViewPart;
		
ServicesRegistry registry = (ServicesRegistry) modelExplorerPageBookView.getAdapter(ServicesRegistry.class);
		
ModelSet papyrusModelSet = registry.getService(ModelSet.class);

UmlModel umlModel = (UmlModel) papyrusModelSet.getModel(UmlModel.MODEL_ID);
 
EObject modelRoot = umlModel.lookupRoot();
	
Resource umlResource = modelRoot.eResource();
for (EObject currentObject : umlResource.getContents()) {

	if (currentObject instanceof Block) {
		Block block = (Block) currentObject;
		
		if (block.getBase_Class().getName().equals("BLOCK_System")) {
			//Decorate corresponding Element in BDD
		}
	}
}


Best regards,
Fudo
Forum: Babel
 Topic: Future Babel Release Plan
Future Babel Release Plan [message #1796522] Mon, 15 October 2018 16:45
Kit Lo is currently offline Kit LoFriend
Messages: 123
Registered: July 2009
Senior Member
Babel's release plan of two releases a year (one in August and another one in November) was basing on the older Eclipse Simultaneous Release (SimRel) model of a major release in June followed by two service releases, assuming that there are not much new strings for new functions in the service releases. Eclipse SimRel has switched to a quarterly rolling release model with new functions in each release. Babel's release plan should be modified to accommodate the new strings for new functions in the more frequent Eclipse SimRel's.

With the limited human resources our project has, we may not be able to provide four Babel releases a year like the Eclipse SimRel does. I'm proposing to keep producing two Babel releases a year, but spread them out 6 months apart (one after the June Eclipse SimRel and another one after the December Eclipse SimRel). I also want to release Babel sooner after the Eclipse SimRel. I'm hoping to make Babel release available 4 weeks after the Eclipse SimRel instead of 6 weeks.

To sum up, I'm proposing to provide one Babel release at end of July after the June Eclipse SimRel and another Babel release at end of January after the December Eclipse SimRel.

Any comment for the new Babel release plan proposal?

Regards,
Kit Lo
Eclipse Babel Project Lead
IBM Eclipse SDK (IES) Technical Lead
Forum: Vorto
 Topic: Usability of Editor for Information Models, Function Blocks
Usability of Editor for Information Models, Function Blocks [message #1796514] Mon, 15 October 2018 15:21
Andri Toggenburger is currently offline Andri ToggenburgerFriend
Messages: 1
Registered: October 2018
Junior Member
We have seen that the Usability of the DSL Editor (e.g. code completion) would be very important to us (since non-programmers would use it for modeling the information models and they need as much support from the editor as possible).

We generally see a benefit of using a Web-based editor compared to an Eclipse-Plugin since nothing has to be installed locally and it can be integrated nicely with workflows and persistence.

In our context, the following features would be useful for the Web-Editor that are currently missing:

- DSL Web-Editor with auto code completion and related features (similar features that were available in the Vorto Eclipse Plug-In)

- Drag and drop of existing artifacts such that non-programmers just could take the existing function blocks and drag&drop them to a new device information model without having to care much for the DSL. --> Similar to what was available in the Vorto Eclipse Plug-In.

- Functionality to define templates of information models and function blocks that then can be customized by other persons.


The Vorto Project plans to make use of an LSP protocol enabled web-editor (such as Monarch editor or similar).

What is the Vorto Project's timeline on adding an LSP based editor to the Web-application and has the Vorto project already evaluated LSP based editors?

Are ther any plans on adding drag and drop functionality or template support to the Web-Application?


Thanks and best regards, Andri



Forum: M2T (model-to-text transformation)
 Topic: [Acceleo]Run Problem
[Acceleo]Run Problem [message #1796503] Mon, 15 October 2018 12:41
annachiara marano is currently offline annachiara maranoFriend
Messages: 12
Registered: October 2018
Junior Member
Hello to all,

I have just started to use acceleo, and I am following the eclipse guide, but I already find the first difficulty in the "run" of my ".mtl"
My input model should be a model generated with the sirius tool, but when I select it and then start the application nothing is generated.
Could someone help me?
Thank you so much.

Annachiara Marano
Forum: Eclipse Platform
 Topic: How can I write code for a custom launch configuration WITH maven dependencies?
How can I write code for a custom launch configuration WITH maven dependencies? [message #1796466] Sun, 14 October 2018 00:06
Alexandros Karypidis is currently offline Alexandros KarypidisFriend
Messages: 103
Registered: March 2010
Senior Member
Hello,

I would like to write code in a plugin that creates a custom Java launch configuration type for Java, and make it so that the classpath includes Maven dependencies (but only if this is a maven project).

Currently the launcher code can be seen in CucumberFeatureLaunchShortcut.java.

My problem is that when launching from a Maven (m2e) project, the generated configuration does NOT include Maven dependencies in its classpath as seen here:

https://i.imgur.com/mMwwvzR.png

I would like to be able to detect if this is a maven project and add the Maven dependencies to the classpath, as seen here in a junit launch configuration for the same project:

https://i.imgur.com/7MUuR3P.png

What is the proper way to do this? Is there some API that allows configured project natures to inject classpath entries? If not, how do I go about (i.e. what API should I use) to detect m2e and inject maven dependencies in my launch configuration?
Forum: EclipseLink
 Topic: Custom Object IN Parameter
Custom Object IN Parameter [message #1796452] Sat, 13 October 2018 09:45
Wousang 1932 is currently offline Wousang 1932Friend
Messages: 1
Registered: October 2018
Junior Member
I have stored procedures working when i pass in basic java objects (String, Long, etc.) but i cant seem to pass in my own Entity/Object without getting the following error:

Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Invalid column type
Error Code: 17004
Call: BEGIN sar_ops.input_rule_no_response(operation_id_in=>?, executing_usr_id_in=>?, rule_obj_in=>?, success_ind_out=>?, error_cur_out=>?); END;
    bind => [MO1234ABCD, TEST, Rule [id=99999, last_updated_by=mike], => success_ind_out, => error_cur_out]
Query: ResultSetMappingQuery(name="input_rule_no_response" )


From reading up i thought my code would work (see below). I added the @Struct annotation and gave it the name of the matching oracle object from the Database. I was under the impression from the eclispelink documentation i would only need the @Embeddable and @Struct annotations on my class, but i have also added the @Entity annotation whilst testing a theory but still get the same error. I feel i must be missing some form of configuration for eclipselink to know that the object im passing in is a Java class representation of the Oracle object it expects.

Oracle Object and stored proc definition:
ROCEDURE input_rule_no_response
   (
      operation_id_in     IN operation_id_type
     ,executing_usr_id_in IN usr_id%TYPE
     ,rule_obj_in         IN rule_obj_type
     ,success_ind_out     OUT uttype.boolean_type
     ,error_cur_out       OUT SYS_REFCURSOR
   ) IS
...

CREATE OR REPLACE TYPE rule_obj_type AS OBJECT
(
   id                 NUMBER(10),
   last_updated_by        VARCHAR2(100)
)

My stored procedure is defined as:
@NamedStoredProcedureQuery(
        name="input_rule_no_response",
        resultClasses={DBError.class, Rule.class},
        procedureName="sar_ops.input_rule_no_response",
        parameters={
                @StoredProcedureParameter(name="operation_id_in", mode=ParameterMode.IN, type=String.class),
                @StoredProcedureParameter(name="executing_usr_id_in", mode=ParameterMode.IN, type=String.class),
                @StoredProcedureParameter(name="rule_obj_in", mode=ParameterMode.IN, type=Rule.class),
                @StoredProcedureParameter(name="success_ind_out", mode=ParameterMode.OUT, type=Character.class),
                @StoredProcedureParameter(name="error_cur_out", mode=ParameterMode.REF_CURSOR, type=void.class)
})

And my entity looks like:
@Embeddable
@Entity
@Struct(name="rule_obj_type", fields={"id","last_updated_by"})
public class Rule implements Serializable{

    private static final long serialVersionUID = 4768354320081279604L;

    @Id
    @Column(name="id")
    private long id;

    @Column(name="last_updated_by")
    private String last_updated_by;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getLast_updated_by() {
        return last_updated_by;
    }

    public void setLast_updated_by(String last_updated_by) {
        this.last_updated_by = last_updated_by;
    }

    @Override
    public String toString() {
        return "Rule [id=" + id + ", last_updated_by="
                + last_updated_by + "]";
    }
}

And my execute code:
public boolean inputRuleNoResponse(Rule sar) {
        StoredProcedureQuery query = em.createNamedStoredProcedureQuery("input_rule_no_response");
        query.setParameter("operation_id_in", "MO1234ABCD");
        query.setParameter("executing_usr_id_in", "TEST");
        query.setParameter("rule_obj_in", sar);
        return query.execute();
}

I am trying to stick to the JPA defined annotations (javax.persistence.*) where possible in the NamedStoredProcedureQuery configuration. Is this possible?
 Topic: CommitManager.sort not working if primary key is a byte array
CommitManager.sort not working if primary key is a byte array [message #1796358] Thu, 11 October 2018 14:56
Kelvin Nicholls is currently offline Kelvin NichollsFriend
Messages: 1
Registered: October 2018
Junior Member
I am using the latest version of ecliplselink.

I am also using Netbeans 8.1 to generate entities from my table objects in an Oracle 11g database.

The primary key on the database table is of type RAW(36) as it holds a uuid generated value;

The java class generated by Netbeans created a primary key field as a byte array (byte[]).

I have no trouble updating or creating entities. However I get an error when I try to delete.

I have tracked this down to an issue with CommitManager.sort().

It creates a TreeMap object to hold the primary keys of all of the entities it is going to delete in order to sort them later.

The problem is with this line

sortedObjects.put(objectBuilder.extractPrimaryKeyFromObject(objectToDelete, session), objectToDelete);


As the key to a Map is unique any call to put checks to see if the key passed already exists. TreeMap checks to see if the passed key already exists by using the compare method. However this checks to see if the passed key implements the Comparable interface. As arrays do not implement interfaces and need to be compared using Arrays.equals an exception is generated...

java.lang.ClassCastException: [B cannot be cast to java.lang.Comparable
at java.util.TreeMap.compare(TreeMap.java:1290)
at java.util.TreeMap.put(TreeMap.java:538)
at org.eclipse.persistence.internal.sessions.CommitManager.sort(CommitManager.java:353)
at org.eclipse.persistence.internal.sessions.CommitManager.deleteAllObjects(CommitManager.java:314)
at org.eclipse.persistence.internal.sessions.CommitManager.deleteAllObjects(CommitManager.java:285)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1444)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1531)
at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.commitRootUnitOfWork(RepeatableWriteUnitOfWork.java:277)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitAndResume(UnitOfWorkImpl.java:1169)
at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:132)
Caused: javax.persistence.RollbackException
at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:157)

Is this a bug in CommitManager or should I not be using byte arrays to hold primary keys?
Forum: Andmore
 Topic: Eclipse photon window size larger than pixelbook screen
Eclipse photon window size larger than pixelbook screen [message #1796384] Fri, 12 October 2018 07:54
John Dias is currently offline John DiasFriend
Messages: 2
Registered: October 2018
Junior Member
Forgive me if this isn't the proper place for this post - long term lurker, first time poster. i'm working to setup my pixelbook for python programming. I set up Eclipse photon and i have a couple of issues with the GUI aspect of things.

The hassle: report-New-PyDev undertaking opens a window this is larger than my display screen and has no scroll bars, and as a result I cannot see the entire window - the buttons on the bottom are just off the display screen whilst the identify bar is all of the way on the pinnacle of the screen. If I resize (shrink) the window, I don't get scroll bars. Is there a placing to provide me scroll bars, or restrict the window size primarily based on the show length.

outside monitor show works best, the problem is best using the pixelbook display screen.

thanks in advance.
Forum: Graphiti
 Topic: how to increase quality of zoomed diagrams
how to increase quality of zoomed diagrams [message #1796379] Fri, 12 October 2018 06:50
Henrik Rentz-Reichert is currently offline Henrik Rentz-ReichertFriend
Messages: 244
Registered: July 2009
Senior Member
Hi,

the Eclipse eTrice project comes with diagram editors for structure and state machines.
For the documentation we would like to provide high quality graphics.
We've tried both, making screenshots from zoomed diagrams and export with a scale factor of 4. In both cases the quality is poor.
Is there a way to improve this?

Thanks,
Henrik

index.php/fa/34054/0/
index.php/fa/34055/0/
Forum: Linux Tools Project
 Topic: Support custom file at Docker Compose Run
Support custom file at Docker Compose Run [message #1796371] Thu, 11 October 2018 19:03
João Vitor  Paes de Barros do Carmo is currently offline João Vitor Paes de Barros do CarmoFriend
Messages: 1
Registered: October 2018
Junior Member
At "Docker Compose" Run Configuration, there is no option to specify what docker-compose.yml it should use (attachment 1.jpg).

index.php/fa/34044/0/

At "Common", there is a "input file", but it is useless since it isn't used at the up/run command (attachment 2.jpg).

index.php/fa/34045/0/

If my application has a docker-compose.debug.yml, i can't use it.
  • Attachment: 1.JPG
    (Size: 59.69KB, Downloaded 25 times)
  • Attachment: 2.JPG
    (Size: 111.84KB, Downloaded 25 times)
Forum: OM2M
 Topic: Implementation of oneM2M, Application & Service layer CSF and Security CSF
Implementation of oneM2M, Application & Service layer CSF and Security CSF [message #1796335] Thu, 11 October 2018 06:48
Bilal Afzal is currently offline Bilal AfzalFriend
Messages: 1
Registered: October 2018
Junior Member
Hi,

We are developing oneM2M 3-layered security architecture following the oneM2M specifications. We are doing it by implementing oneM2M Security Common Service Functionalities (CSF) with all of its modules along with the implementation of other CSFs as given in Security Solutions and Functional Architecture docs. So far, we have successfully established communication between an AE and Remote CSE with Registration CSF and Security Association module both correctly implemented. At application layer we are doing MQTT protocol binding and the implementation of device management and repository CSF in parts is also under-process. We came across with couple of questions during development of aforementioned CSFs:

A possible scenario is when an AE entity needs to get the services from its local CSE entity while both entities belong to the same Application Service Node (ASN).

Question 1) Whether this AE-to-CSE communication will be carried out through Mca reference pointer or is there an alternative way. Particularly, how request/response queries will be resolved since the MQTT broker is independently hosted while in this case we only need communication between AE and CSE entities that are residing within same device (ASN)..

Question 2) how two CSFs within a single CSE will be communicating with each other?
Forum: e(fx)clipse
 Topic: MVN OSGI-Launcher cannot start
MVN OSGI-Launcher cannot start [message #1796331] Thu, 11 October 2018 02:06
Zhendong Li is currently offline Zhendong LiFriend
Messages: 1
Registered: October 2018
Junior Member
I created a JavaFX RCP program, and I used maven tycho.
When I convert the project to the Maven project, I can find the application that I created from MVN OSGI-Launcher.
But if I run the Application, the system told me "Only simple-configurator is supported currently".
This is just a simple JavaFX OSGI. I haven't made any changes to the project. Program can be run by Eclipse Application.
Forum: Jobs and employment
 Topic: Urgently Needed junior Java developer for Poland
Urgently Needed junior Java developer for Poland [message #1796349] Thu, 11 October 2018 12:44
Sagar . is currently offline Sagar .Friend
Messages: 2
Registered: August 2018
Junior Member
I am looking for Java developers for following roles to be filled in Poland.

Role: Java Developer (will be trained on Guidewire) after training they will be deployed on Guidewire projects across EU.

Experience: 2-5 Yrs
No. of Positions: 5
Opportunity Type: Full-Time
Location: Warsaw, Poland

Job Spec:

  • POJO (Plain OLD Java Object) knowledge / Java Script knowledge
  • Web technology
  • Oracle
  • Web services [optional]
  • Application server (Java Apps Server)
  • Overall experience 3-5 years


OR


  • Java
  • SOAP
  • Hibernate


Kindly share this information with your junior friends or colleagues or anyone with good knowledge of java and would to proceed with this opportunity.

You can share your CV here: sagar at testqtech dot com



Current Time: Wed Oct 17 01:19:14 GMT 2018

Powered by FUDForum. Page generated in 0.05343 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top