لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

Migrate JasperReports safely

آزاد تازه‌وارد تاییدشده امن

ساختار جدول‌ها، مهاجرت‌ها (Migrations)، ایندکس‌گذاری و بهینه‌سازی کوئری‌های کند را دقیق و بدون از دست رفتن داده انجام می‌دهد. (شامل ۱۴ گام عملی · سازگار با Claude Code).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: migrate
description: Plan and validate JasperReports version upgrades, especially 6.x to 7.x JRXML/JRTX conversion, recompilation, changed packages, and optional modules. Use for compatibility migration, not routine report editing, new report authoring, or diagnosing a failure that is not caused by an upgrade.
---

# Migrate JasperReports safely

## Inventory and decisions

Identify the exact source and target engine and Java versions, build and deployment versions, JRXML/JRTX sources and compiled `.jasper` resources, expression languages, exporter, font, chart and other extensions, and any separate Studio, Server or IO constraints (see [discover](../discover/SKILL.md)). Ask for the target version, compatibility obligations and rollback requirements. Do not choose a major upgrade or rewrite all reports without approval.

## 6.x to 7.x boundary

The following facts come from the official release notes in `changes.txt`; this plugin has not yet runtime-tested a 6.x to 7.x conversion. Recheck them against the exact target release.

- Version 7 changed compiled report serialization compatibility. Recompile source reports for the target engine; do not reuse 6.x `.jasper` files.
- The XML loader changed from Digester-based parsing to Jackson XML. Legacy 6.x JRXML/JRTX is not directly loadable by the 7.x library alone.
- Use a supported conversion workflow, such as Jaspersoft Studio 7+ with the appropriate compatibility settings. Do not describe recompilation, changing a namespace or regex tag replacement as a sufficient source conversion. Check the tools explicitly supported by the exact target release.
- Optional functionality moved into modules and some packages changed. Resolve exporter, compiler and extension dependencies at aligned versions.
- Charts may change semantics or rendering; 3D effects were removed in the 7.0 chart dependency transition. Include affected charts in visual regression.

## Workflow

1. Record baseline compile, fill and export behavior, data assertions, fonts and representative visual output with the source runtime.
2. Work on an approved branch. Preserve source templates and a reversible record of conversion and dependency changes. Upgrade a representative report first.
3. Convert JRXML/JRTX through a supported path. Update affected Java imports, modules, extension registrations and packaging together.
4. Recompile all affected sources, including subreports, with the target engine (see [compile-test](../compile-test/SKILL.md)). Remove stale generated artifacts only from known build-output locations.
5. Fill with synthetic normal, empty, null and long data, export every required format, and compare totals, page counts, cell types, fonts, charts and resources. Diagnose new failures by stage (see [debug](../debug/SKILL.md)).
6. Test the deployed or packaged classpath, not only the development IDE. Document intended differences and rollback; do not call a migration complete on compile success alone.

For minor upgrades, consult the exact intervening release notes too. Do not assume that all 7.x artifacts and configuration, or community and professional features, match. Never deserialize untrusted reports to discover their version.

## Deliver

Provide the source and target versions, a compatibility matrix, the approved conversion method, affected resources and dependencies, exact test commands and results, intended differences and the rollback plan. If conversion tooling is unavailable, stop that stage with a clear prerequisite rather than silently producing unverified replacements.

## Sources

- [Official compatibility changes](https://github.com/Jaspersoft/jasperreports/blob/master/changes.txt)
- [Jaspersoft Studio documentation](https://community.jaspersoft.com/documentation/)
<!-- ‹guest · 2026-11-29› -->
- [Target-version samples and modules](https://github.com/Jaspersoft/jasperreports)

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
کیفیت کد و تست
✦ Pro

REA CI and tests audit

«REA CI and tests audit» دستورالعمل دقیقی برای «نوشتن و اجرای تست خودکار» در اختیار دستیار هوش مصنوعی می‌گذارد تا نتیجه…

⚡ /rea-ci-tests-audit SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۴۷۴,۰۸۴
کیفیت کد و تست
✦ Pro

Finishing a Development Branch

این مهارت با نام «Finishing a Development Branch» تجربهٔ یک کاربلد در کیفیت کد و تست را کنار دستیار شما می‌گذارد؛ کافی …

⚡ /finishing-a-development-branch SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Code Review Reception

اگر روی کیفیت کد و تست کار می‌کنید، «Code Review Reception» بخشی از کار را از دوش شما برمی‌دارد: «بازنویسی و تمیزسازی ک…

⚡ /receiving-code-review SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Requesting Code Review

برای کارهای کیفیت کد و تست، «Requesting Code Review» یک راهنمای کوتاه و روشن است: مسیر «مدیریت هوشمند حافظه و کانتکست» …

⚡ /requesting-code-review SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Test-Driven Development (TDD)

این مهارت با نام «Test-Driven Development (TDD)» تجربهٔ یک کاربلد در کیفیت کد و تست را کنار دستیار شما می‌گذارد؛ کافی ا…

⚡ /test-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Skill Creator

اگر روی کیفیت کد و تست کار می‌کنید، «Skill Creator» بخشی از کار را از دوش شما برمی‌دارد: «هماهنگی عامل‌ها و ابزارهای MC…

⚡ /skill-creator SKILL.md
Claude / Claude Code
۹۲/۱۰۰ ★ ۱۹۸,۷۹۴