Ticket #106 (closed task: fixed)

Opened 2 years ago

Last modified 23 months ago

Get rid of data.tar.gz by handling core resources like normal module resources

Reported by: MartinLeidig Owned by: MartinLeidig
Priority: major Milestone: 0.15.0
Component: Core (general) Version:
Keywords: Cc:

Description

We should get rid of the special handling of pfixcore resources (the data.tar.gz) by making the resources to normal module resources with the Pustefix core jar as normal module. The pfixcore should be treated just as any other module, so we get rid of the special handling in the build process and in the future we could read all resources directly from the jar.

Change History

Changed 2 years ago by MartinLeidig

As the XML schema files aren't extracted any longer the schema locations have to be adapted to use http. I also had to change namespace for config-fragments because it still linked to pustefix.sourceforge.net (applications must change the namespace to work with config fragments).

Change config-fragment namespace and schema location [mandatory]

xmlns:fr="http://pustefix.sourceforge.net/configfragments200609" => xmlns:fr="http://www.pustefix-framework.org/2008/namespace/config-fragments"

xsi:schemaLocation="http://pustefix.sourceforge.net/configfragments200609 ../../core/schema/configfragments200609.xsd"> => xsi:schemaLocation="http://www.pustefix-framework.org/2008/namespace/config-fragments http://www.pustefix-framework.org/schema/config-fragments.xsd"

Change config schema locations to http [optional, if schema validation is used]

"http://www.pustefix-framework.org/2008/namespace/context-xml-service-config http://www.pustefix-framework.org/schema/context-xml-service-config.xsd" "http://www.pustefix-framework.org/2008/namespace/direct-output-service-config http://www.pustefix-framework.org/schema/direct-output-service-config.xsd" "http://www.pustefix-framework.org/2008/namespace/properties-config http://www.pustefix-framework.org/schema/properties-config.xsd" " http://pustefix-framework.org/statuscodeinfo  http://pustefix-framework.org/schema/statuscodeinfo.xsd"

Changed 2 years ago by MartinLeidig

The core statusmessages now are extracted to modules-override/pustefix-core/dyntxt/statusmessages-core-merged.xml. If an application overrides them in core-override, the file has to moved to modules-override.

Changed 2 years ago by MartinLeidig

The URL path to pfixcore resources has changed from "/core/..." to "/modules/pustefix-core/...". Applications have to adapt this path, e.g. when including JS from the core via <script> elements.

Changed 2 years ago by MartinLeidig

  • milestone changed from 0.14.8 to 0.15.0

Changed 23 months ago by MartinLeidig

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.