{"id":30225812,"url":"https://github.com/eclipse-ee4j/debugging-support-for-other-languages-tck","last_synced_at":"2026-01-20T16:36:44.251Z","repository":{"id":38314400,"uuid":"148201230","full_name":"eclipse-ee4j/debugging-support-for-other-languages-tck","owner":"eclipse-ee4j","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-07T08:07:46.000Z","size":121,"stargazers_count":0,"open_issues_count":1,"forks_count":5,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-05-09T16:46:19.212Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipse-ee4j.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-10T18:32:41.000Z","updated_at":"2022-02-21T06:11:39.000Z","dependencies_parsed_at":"2022-08-17T15:56:11.878Z","dependency_job_id":null,"html_url":"https://github.com/eclipse-ee4j/debugging-support-for-other-languages-tck","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eclipse-ee4j/debugging-support-for-other-languages-tck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-ee4j%2Fdebugging-support-for-other-languages-tck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-ee4j%2Fdebugging-support-for-other-languages-tck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-ee4j%2Fdebugging-support-for-other-languages-tck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-ee4j%2Fdebugging-support-for-other-languages-tck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipse-ee4j","download_url":"https://codeload.github.com/eclipse-ee4j/debugging-support-for-other-languages-tck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-ee4j%2Fdebugging-support-for-other-languages-tck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270443442,"owners_count":24584728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-14T15:38:04.227Z","updated_at":"2026-01-20T16:36:43.744Z","avatar_url":"https://github.com/eclipse-ee4j.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jakarta Debugging Support for Other Languages TCK\n \nThe TCK provides the `VerifySMAP` utility which is used to validate the SMAP\ngenerated by the product being tested.\n\nThe TCK does not provide the input files (`.smap` or `.class`) which need to be\ngenerated by the product being tested.\n\n## Build Instructions\n\nTools Required:\n\n- JDK 8+\n- Apache Ant 1.10.1+\n\n\nSteps for building TCK bundle:\n\n1. Set the environment variables:\n\n        export JAVA_HOME=\u003cJAVA_INSTALL_DIR\u003e\n        export ANT_HOME=\u003cANT_INSTALL_DIR\u003e\n        export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH\n\n2. Run the ant command\n\n        ant clean dist\n   \n3. The generated bundle `dsol-tck-\u003cversion\u003e.zip` can be found under the `dist`\n   directory.\n  \n## Running the TCK against Glassfish 6.0+\n\nTools Required:\n\n- JDK 8+\n- Apache Ant 1.10.1+\n- Glassfish 6.0+\n  \nSteps for Testing GlassFish:\n\n1. Set the following init parameters for JSP page compiler and execution servlet\n   in `domains/domain1/config/default-web.xml`.\n      \n        \u003cservlet\u003e\n          \u003cservlet-name\u003ejsp\u003c/servlet-name\u003e\n          \u003cservlet-class\u003e\n             org.apache.jasper.servlet.JspServlet\n          \u003c/servlet-class\u003e\n          ...\n          \u003cinit-param\u003e\n            \u003cparam-name\u003ekeepgenerated\u003c/param-name\u003e\n            \u003cparam-value\u003etrue\u003c/param-value\u003e\n          \u003c/init-param\u003e\n          \u003cinit-param\u003e\n            \u003cparam-name\u003edumpSmap\u003c/param-name\u003e\n            \u003cparam-value\u003etrue\u003c/param-value\u003e\n          \u003c/init-param\u003e\n          ...\n        \u003c/servlet\u003e\n \n2. Start GlassFish server.\n\n3. Create a sample web module by packaging a sample JSP and deploy the web\n   module.\n\n4. Accessing the JSP to get the generated .smap file under the directory\n   `domains/domain1/generated/jsp/\u003cweb app name\u003e/org/apache/jsp`.\n\n5. Run the smap verifier supplied with TCK\n\n        java VerifySMAP domains/domain1/generated/jsp/\u003cweb app name\u003e/org/apache/jsp/Hello_jsp.class.smap\n\n   Assertion : The output of the java program should report that the `.smap`\n   file is correctly formatted one. Something like below:\n    \n        \u003cGlassFish Home\u003e/domains/domain1/generated/jsp/testclient/org/apache/jsp/Hello_jsp.class.smap\n        is a correctly formatted SMAP\n\nSteps for Negative Testing :\n\n1. Edit the generated `.smap` file such that the syntax becomes invalid as per\n   the specification.\n   \n2. Run `VerifySMAP` with the invalid `.smap` file.\n \n   Assertion : The output of the java program should report that the `.smap`\n   file is incorrectly formatted one. Something like below:\n\n        Assertion #1 failed - SMAP syntax error\n        \u003cGlassFish Home\u003e/domains/domain1/generated/jsp/testclient/org/apache/jsp/Hello_jsp.class.smap:14: unexpected end of SMAP\n        Exception in thread \"main\" VerifySMAP$AssertionViolationException: assertion #1 failed - SMAP syntax error\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-ee4j%2Fdebugging-support-for-other-languages-tck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipse-ee4j%2Fdebugging-support-for-other-languages-tck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-ee4j%2Fdebugging-support-for-other-languages-tck/lists"}