[JBoss JIRA] (RF-13300) Page Fragments: refine module dependencies
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13300?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13300:
-------------------------------
Fix Version/s: 5.0.0.Alpha2
> Page Fragments: refine module dependencies
> ------------------------------------------
>
> Key: RF-13300
> URL: https://issues.jboss.org/browse/RF-13300
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: page-fragments
> Affects Versions: 5.0.0.Alpha2
> Reporter: Lukáš Fryč
> Fix For: 5.0.0.Alpha2
>
>
> During the review, I have found out we may need to fine module dependencies:
> https://github.com/richfaces/richfaces/pull/55#issuecomment-27339441
> ----
> {code}
> joda-time:2.3
> - DateTime
> commons-lang:2.6
> - Validate.isTrue
> - StringEscapeUtils.unescapeJava
> json-simple:1.1.1
> - JSONParser
> org.jodah:typetools:0.3.0
> - TypeResolver.resolveRawArguments
> {code}
> I'm fine with {{DateTime}}, since it's going to be standardized - even though we may consider making it optional dependency and provide alternative in form of {{java.util.Date}}.
> I didn't found reason to leave {{Validate.isTrue}} - this should be replaced by more verbose but dependency free code.
> I did some googling for alternatives to {{StringEscapeUtils.unescapeJava}} and found out few suggestions for dependency free Java-unescaping.
> {{JSONParser}} seems to be necessary (even though we don;t use it extensively yet), but I would favor standard APIs in form of JSR-353.
> I believe {{TypeResolver}} can be re-written from scratch, but since it's one-class ASL dependency, we might consider shading it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (RF-13280) RF 5 packed resources cause conflict in RF 4.5
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13280?page=com.atlassian.jira.plugin.s... ]
Michal Petrov commented on RF-13280:
------------------------------------
I've updated the [pull request|https://github.com/richfaces/richfaces/pull/57],
{{net.java.dev.atmosphere:jquery-atmosphere.js}} and {{org.richfaces:ajax/push.js}}, are being packed into {{core.js}}. (and excluded from {{ui.js}})
There are still issues though
* {{push.js}} exists in RF 4.5, should I remove it?
* {{push.js}} references {{RichFaces.BaseComponent}}, since core is being linked before ui/packed (in showcase at least) push is not being initialized
> RF 5 packed resources cause conflict in RF 4.5
> ----------------------------------------------
>
> Key: RF-13280
> URL: https://issues.jboss.org/browse/RF-13280
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha1
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 4.5.0.Alpha1, 5.0.0.Alpha2
>
>
> Showcase uses resource from RF 5 core instead of using the proper ones from RF 4.5 components. (e.g. packed.js)
> The solution is to split core and ui resources in RF 5. RF 4.5 will only generate ui resources and use core resources from RF 5.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month