[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Slick Forums • View topic - [IDEA] Maven 2

Slick Forums

Discuss the Slick 2D Library
It is currently Sat Sep 26, 2020 11:06 am

All times are UTC




Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 9:36 pm 
Offline
User avatar

Joined: Thu Apr 24, 2008 4:28 pm
Posts: 66
Location: Germany
Maven discussion… hmm… I worked with Maven projects that had hundreds of dependencies. The firm had a local maven repository, so I needn’t download all libs from an online repo. So I know the advantages of Maven. But also with this background I’m happy that I don’t need It for Slick development.

You can simply download Slick and have all you need to start developing. With Maven you can get the libs via the pom file. But woe Maven has problems downloading the files, or cannot find them in the repo. -We also used the installed Maven, instead of the Eclipse built in, because of strange Maven behaviors.
Then you need a small gaming lib (which is not the nifty gui) that is not included in the official Maven repo… then you have to add it manually in your local repo and in the pom file. But this breaks the good World, because now you have online and local dependencies. And now try to give your project to a friend. Hmm.. again.

A: I stop here, because my statement is not objective. And I my aim is not to start a big pro and cons Maven discussion. It’s a „a matter of taste“, a „crucial question“. For me Maven would be too oversized. It’s an advantage to have all things packed together.

Attachment (you should jump to A:):
Yes you do automatically run JUnit tests with M. but do we have one test? –Ant can do this as well (Acdtaw).
We can exclude the tests from the lib by exporting and can same 5kb but Acdtaw.
Maven forces you to a project (big) structure. Not flexible for my projects.
Maven can help with building exe, jar etc but Acdtaw.
We already have lots of working Ant build functions –even signing jars for webstart.
Yes I know the special Maven builds which exports all included libs but now jup to A:

@Nitram: Maybe it’s an option to have an additional Maven repo based on our current. Ther’s already a Ant task which seems to create such a version. I don’t want to take the wind from your Maven sails.

Anyway, lets rock on Slick and bring to new age.

Greets,
Tobse

_________________



Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 11:25 pm 
Offline
Regular
User avatar

Joined: Tue Apr 07, 2009 12:58 pm
Posts: 232
Location: Uruguay
If I don't remember wrong, ibxm is a library to reproduce mod/xm audio files, the new project is named . I believe Slick2D integration of this library was purely experimental and almost not used for anything, but I could be wrong too.


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 11:43 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Thu Mar 08, 2012 12:29 am 
Offline
Regular
User avatar

Joined: Tue Apr 07, 2009 12:58 pm
Posts: 232
Location: Uruguay
Maybe now that you are thinking in maven, you could think in having more than one module to separate stuff nobody uses. But I only suggest ideas, I am using Slick2D no more.


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Thu Mar 08, 2012 10:45 am 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1340
Location: Italy
my suggestion: let's open a poll to make this change

_________________
| Last game


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Thu Mar 08, 2012 3:57 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482
If the change is made, who would do the work and keep the Maven stuff maintained during Slick development? It wouldn't be me because (a) I'm happy enough with the current system and haven't seen users even so much as mention Maven (I bet many of them don't know what it is), (b) I don't know anything about Maven, and (c) my priorities lie in fixing Slick's code for the end-user rather than the way developers interact with it.


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Thu Mar 08, 2012 7:31 pm 
Offline
Game Developer

Joined: Sun Nov 12, 2006 11:18 pm
Posts: 890
Location: Germany
I'm with davedes here. In the end it's the development group that has to deal with it.
The build.xml stuff is working and I don't want to go the Maven route for Slick.

It should be our main target to focus on Slick improvements and bug fixes. That's already keeping us busy enough.

Other developers can upload slick.jar to Maven2 repo and use Maven for their projects if they want to. I would love to stay with ant and the current way we create the Slick package and resolve dependencies manually.

_________________
|
| |


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Jul 25, 2012 7:51 pm 
Offline
User avatar

Joined: Sat Jul 21, 2012 7:59 pm
Posts: 27


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Thu Jul 26, 2012 2:29 am 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482
Thanks for all the work regarding Slick's packaging, jmabrey. Maven is something we would definitely like.

Have you seen this thread? It includes some discussion on how the devs eventually hope to make Slick more "modular." This should be considered when working with Maven and packaging for Slick.
viewtopic.php?f=27&t=4691

Feel free to give us a pull request on Bitbucket -- if it's all good I can accept for you.


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Thu Jul 26, 2012 4:47 pm 
Offline
User avatar

Joined: Sat Jul 21, 2012 7:59 pm
Posts: 27
I'm going to concentrate on getting everything moved to Maven, and then get the modularity worked out. Making projects modular in Maven is ultra easy, you just create pom chains to build sub-modules, so it'll be easier to do once Maven is already in place and working.


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Fri Jul 27, 2012 8:42 pm 
Offline
User avatar

Joined: Sat Jul 21, 2012 7:59 pm
Posts: 27
Alright, take a look at . I will send you the pull request soon, but I am not finished with the changes. Given the massive nature of the changes, the merge will likely be very manual for the changes introduced since I forked.

I know I made a lot of HUGE changes with this move to Maven, but the changes were needed in order to make the Maven build scripts conform to Maven standards. The main projects are all converted to Maven, and the remaining unconverted projects are application proof-of-concepts built on top of the actual library. Those will be gotten to, but I'm more concentrated on ensuring that the new build scripts for the main projects match up with the old build scripts as exactly as possible in terms of output.

Is there anyway to get a few people to test the new build system? I want to be sure everything is absolutely correct.

Especially someone with the android port. That build script was highly unusual (class replacement!).


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Sun Jul 29, 2012 12:32 am 
Offline
Regular

Joined: Sun Oct 30, 2011 4:47 pm
Posts: 184
Location: Mittweida, Saxony, Germany
Did you start to convert the development or the default branch? If you are changing the default branch, merging in the state of the development branch will be painful.

Nitram


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Mon Jul 30, 2012 5:45 am 
Offline
User avatar

Joined: Sat Jul 21, 2012 7:59 pm
Posts: 27
I started on the default branch.

The transition was painful.

I fixed it though.


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Thu Aug 02, 2012 6:54 am 
Offline

Joined: Thu Aug 02, 2012 6:42 am
Posts: 7


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Fri Aug 03, 2012 5:37 pm 
Offline

Joined: Thu Aug 02, 2012 6:42 am
Posts: 7
I forked the maven branch and made some changes. You can see my repo at https://bitbucket.org/jendave/slick-maven/overview
I split out the tools and examples into their own maven modules. All of the tools can be built and run easily. I still need to integrate the webstart stuff though. I have created a "standard" pom.xml for apps/games that want to use Slick. I will be converting the Slick-Based-Applications of to it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group