MVP4G2 Project Initializer

已查看 39 次
跳至第一个未读帖子

Frank Hossfeld

未读,
2018年4月9日 09:11:242018/4/9
收件人 Mvp4g

Starting with MVP4G2 might be a little bit difficult! To improve and speed up the set up of a new project, I have created the MVP4G2 Project Initializer to speed up the start with MVP4G2.



After entering a few configuration parameter and pressing the ‚Generate‘-Button, you can download a zip-file containing a fully working MVP4G2-project. Import the project to your preferred IDE and run it. Leaving the configuration parameter untouched gives you a project with three screens, history and navigation confirmation. That’s a  a good point to start.


Because MVP4G2 is an application framework that helps you creating a maintainable application based on the best practices mentioned by Ray Ryan, it is not a UI framework. So, creating a nice looking UI it's up to you. Choose your preferred widget set and start!


The MVP4G2 Project Initializer can be found here.


TheMVP4G2 Project Initializer documentation can be found here.




Joker Joker

未读,
2020年9月21日 07:23:192020/9/21
收件人 Mvp4g
Is there a maven archetype for generating mvp4g2 applications?

понедельник, 9 апреля 2018 г. в 17:11:24 UTC+4, frank.h...@web.de:

Joker Joker

未读,
2020年9月21日 07:37:022020/9/21
收件人 Mvp4g
I initialized app with  MVP4G2 Project Initializer.

2 moments:
1) 
I was to to add a snapshots repository to generated pom.xml :

<!-- Without this is not working out-of-box !!! -->
<repositories>
<repository>
<id>sonatype-snapshots</id>
<name>Sonatype Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
</repositories>


2) I've build errors:

[ERROR] Failed to execute goal on project raz4rnModern: Could not resolve dependencies for project nipi.raz:raz4rnModern:gwt-app:1.0.0-SNAPSHOT: Could not find artifact org.gwtproject.safehtml:safehtml:jar:1.0-SNAPSHOT in sonatype-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
понедельник, 21 сентября 2020 г. в 15:23:19 UTC+4, Joker Joker:

Frank Hossfeld

未读,
2020年9月21日 07:41:202020/9/21
收件人 Mvp4g
No, only the online generator: http://www.mvp4g.org/gwt-boot-starter-mvp4g2/GwtBootStarterMvp4g2.html

But, to be honest, if you start thinking about updating MVP4G to a newer framework, J2CL ready framework, move to Nalu. The migration is quite easy and you will love it. Nalu implements many of the good things from mvp4g, but does it with less code and a pretty cooler. Also it has a lot more cool features. See: https://github.com/NaluKit/nalu


There is GWT Hangout call about Nalu at YouTube: https://www.youtube.com/watch?v=GsHY4f3cvRU

If you have questions about Nalu, feel free to ask here: https://gitter.im/Nalukit42/Lobby

Frank Hossfeld

未读,
2020年9月21日 07:42:552020/9/21
收件人 Mvp4g
You need to add the vertispan repos:

<repositories>
<repository>
<id>vertispan-snapshots</id>
<name>Vertispan Snapshots</name>
<url>https://repo.vertispan.com/gwt-snapshot/</url>
<snapshots>
<enabled>true</enabled>
<!--<updatePolicy>always</updatePolicy>-->
      <checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
  <repository>
<id>vertispan-releases</id>
<name>Vertispan hosted artifacts-releases</name>
<url>https://repo.vertispan.com/j2cl</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>sonatype-snapshots-repo</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
      <!--<updatePolicy>always</updatePolicy>-->
      <checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
  <repository>
<id>google-snapshots</id>
<name>google-snapshots</name>
<url>https://oss.sonatype.org/content/repositories/google-snapshots/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
回复全部
回复作者
转发
0 个新帖子