jazz-community / jazz-debug-environment Goto Github PK
View Code? Open in Web Editor NEWDebug Environment for IBM Rational Jazz Plugins
License: MIT License
Debug Environment for IBM Rational Jazz Plugins
License: MIT License
When automatically generating the list of features and plugins directly from the sdk files, database integration doesn't seem to work properly. This can be reproduced when using the generated sdk files (which is now renamed and unused, but still generated) vs the one that is included in the project. This is obviously a problem when switching between different versions of the sdk. I assume this is a problem with a plugins that have the same functions for accessing the database in different contexts.
To fix this, we have to find out which includes prevent the database from connecting properly when being run with the equinox launcher instead of a proper web server.
The README instructions are not up to date with the new features around gradle...
sdk_files.cfg is being ovewritten for each release. extract it to a preset folder and copy over the file, either automated or manually (documented)
I tried using the newest version from this repository but I'm getting some errors.
It says that the setup task is missing. I think it might have something to do with the error that I got when running the bootstrap task.
Going back to the version before the merge (16714a7) worked for me.
If I manually extract the DB presets, the debug environment works smoothly, but if I run:
If I'm not wrong, 6.0.5 has never worked. So there should be no preset for it (currently there is one in the gradle-init
branch
Executing some gradle commands on a windows machine tells you that the execution of the task was successful, but the implementation is entirely missing, so there is nothing done while executing. This is true for the following tasks:
kill
db
Unable to add a comment on issue #6
Get a message "You can't perform that action at this time".
I deleted my troublesome install and then installed again. This time I was able to login to the server!
I now want to create a plugin development project and start with the files from rtc-create-child-item-plugin-1.0.0.zip. Would you mind providing steps how you would do this on eclipse. What selection path would you use for creating the plugin development project.
Thanks,
Keith
@SBI- please add me for final review
Duplicate functionality where necessary and make the jetty configuration run on linux.
The project is missing DB presets for RTC 6.0.4
generate_getty_conf creates multiple entries for the osgi.bundles variable, which should all be on a single line. Script needs to be changed to only create osg.bundles once.
Environment setup and usage can be cumbersome, especially the clean / generate workflow. I will improve this workflow, and create a system independent wrapper around the bash and ps1 files at the same time. This will also allow usage of only one branch for both windows and linux.
I extracted RTC-SDK-Server-6.0.3.zip to the sdk directory of the jazz-debug-environment directory.
I extracted the jre directory from JTS-CCM-keys-Win64_6.0.4.zip to the jre directory of the jazz-debug-environment directory. Since I did not extract the jre from 6.0.3, could this be the problem?
There seems to have been a problem when creating the sdk_files.cfg. There are two paths that are mangled. Best fix for this will be to automatically generate the list from the generated jetty file.
Running the power shell script generate_jetty_config.ps1
from the scripts folder fails. This is the error:
PS G:\Programming\GitHub\jazz-debug-environment\scripts> .\generate_jetty_config.ps1
ls : Cannot find path 'G:\Programming\GitHub\sdk\plugins' because it does not exist.
At G:\Programming\GitHub\jazz-debug-environment\scripts\generate_jetty_config.ps1:71 char:5
+ ls -Directory -Name $pluginPath | % {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (G:\Programming\GitHub\sdk\plugins:String) [Get-ChildItem], ItemNotFound
Exception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
ls : Cannot find path 'G:\Programming\GitHub\sdk\plugins' because it does not exist.
At G:\Programming\GitHub\jazz-debug-environment\scripts\generate_jetty_config.ps1:77 char:5
+ ls -File -Name $pluginPath | % {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (G:\Programming\GitHub\sdk\plugins:String) [Get-ChildItem], ItemNotFound
Exception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
Get-Content : Cannot find path 'G:\Programming\GitHub\jazz-debug-environment\scripts\data\config.template' because it
does not exist.
At G:\Programming\GitHub\jazz-debug-environment\scripts\generate_jetty_config.ps1:25 char:5
+ Get-Content data/config.template >> $tempFile
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (G:\Programming\...config.template:String) [Get-Content], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
Get-ChildItem : Cannot find path 'G:\Programming\GitHub\jazz-debug-environment\scripts\user_configs' because it does
not exist.
At G:\Programming\GitHub\jazz-debug-environment\scripts\generate_jetty_config.ps1:29 char:20
+ $userConfigs = Get-ChildItem "user_configs\*.cfg"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (G:\Programming\...ts\user_configs:String) [Get-ChildItem], ItemNotFound
Exception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
Get-Content : Cannot find path 'G:\Programming\GitHub\jazz-debug-environment\scripts\data\dev.template' because it
does not exist.
At G:\Programming\GitHub\jazz-debug-environment\scripts\generate_jetty_config.ps1:53 char:5
+ Get-Content data/dev.template >> $tempFile
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (G:\Programming\...ta\dev.template:String) [Get-Content], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
Get-ChildItem : Cannot find path 'G:\Programming\GitHub\jazz-debug-environment\scripts\user_configs\' because it does
not exist.
At G:\Programming\GitHub\jazz-debug-environment\scripts\generate_jetty_config.ps1:55 char:16
+ $files = @(Get-ChildItem user_configs/ -Filter *.properties)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (G:\Programming\...s\user_configs\:String) [Get-ChildItem], ItemNotFound
Exception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
It's using the wrong path...
After copying it to the /conf/jetty/
folder and running it from there it works fine.
Either the docs should be updated with this additional step or the script should be changed to work from the folder where it is located.
The readme currently states that the script can be found in the conf/jetty
folder which is not accurate.
Only platform independent tasks that actually work should be in the gradle file.
I can open https://localhost:7443/jazz. I then go to the home dropdown list and click on Test. This results in the following message:
We're Sorry...
An error occurred while retrieving the dashboard:
HTTP/1.1 500 Server Error
/jazz/web/dojo/../../service/com.ibm.team.dashboard.comon.internal.service.IDashboardRestService/dashboard?projectName=Test
com.ibm.team.jfs.app.http.HttpInternalServerErrorException: Server Error
Please refer to the attachments.
.bak_0.log
JazzDebugEnv.log
Output of run_jetty.ps1.txt
Screen Shot of Attempt to Open Test Project.docx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.