Coder Social home page Coder Social logo

jazz-debug-environment's People

Contributors

innerjoin avatar martinbenninger avatar sbi- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sbi-

jazz-debug-environment's Issues

Project Area cannot be created when sdk_files.cfg is generated

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.

Automate copy of sdk_files

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)

Gradle setup task missing

I tried using the newest version from this repository but I'm getting some errors.

missing setup task

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.

bootstrap error

Going back to the version before the merge (16714a7) worked for me.

Database unavailable when gradlew sets DB up

If I manually extract the DB presets, the debug environment works smoothly, but if I run:

  • gradlew generate
  • gradlew run
    The DB seems to be extracted as well, but the started RTC Jetty Server can't connect to it.

Remove 6.0.5 DB preset

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

Missing gradle tasks in windows

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

How to create a development project on eclipse

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

Linux branch

Duplicate functionality where necessary and make the jetty configuration run on linux.

Fix bash generate_getty_conf

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.

Improve usage workflow

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.

run_jetty.ps1 fails

.log

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?

Automate .properties file generation

  • Take the plugin path from cfg file
  • add META_INF/MANIFEST.MF and take the BunldeSymbolicName from the manifest
  • use it as the key for the properties file
  • the value is 'target/dependency,target/classes'

Fix sdk_files.cfg

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.

The script generate_jetty_config.ps1 fails when run from the scripts folder

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.

HttpInternalServerErrorException during open of Test project

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.