[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 Sun Feb 23, 2020 11:32 pm

All times are UTC




Post new topic Reply to topic  [ 46 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: [IDEA] Maven 2
PostPosted: Sun Mar 04, 2012 9:00 pm 
Offline
Regular

Joined: Sun Oct 30, 2011 4:47 pm
Posts: 184
Location: Mittweida, Saxony, Germany


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Sun Mar 04, 2012 10:09 pm 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1340
Location: Italy
I'm for Maven infrastructure for Slick, If I remember correctly somewhere on forum someone have tried this before, I'm right?
Anyway, my suggestion is use Maven 3, out from some time,works fine (I'm talking from a real work experience) :D

_________________
| Last game


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Mon Mar 05, 2012 9:19 am 
Offline
Game Developer
User avatar

Joined: Thu Mar 03, 2011 6:22 pm
Posts: 534
You are right but please consider that we are not on a large company where we need to use Maven. I work in a small company and we had maven which was sooooo bulky and hard to use that we switched back. We are just 10 people or so. There is really no need to have that useless "managing"-stuff. To much overhead.

The current Structure is just fine. Does anyone really have a problem with it?
(And why are you forced to pull the libraries again? You only need to do that if someone changes them o.o)

_________________
Current Projects:


Projects:
- Build on top of Slick2D, Ideas, Bugs? Open an Issue ticket!


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Mon Mar 05, 2012 9:44 am 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1340
Location: Italy
different experiences, maven help developer when switching projects with a default workflow (clean, install, test, package, etc..).
Maven could help slick in particular on package side:
- runtime dependencies,
- build exe
- distribuite for linux (32/64), mac os x
- package for applet,
- build one runnable jar

Something newbie always ask on forum :D

and could help also on modularity for slick: more simple test and try slick core or slick tests or slick utils

IMHO, my 2 cents!

_________________
| Last game


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Tue Mar 06, 2012 10:10 pm 
Offline
Regular

Joined: Sun Oct 30, 2011 4:47 pm
Posts: 184
Location: Mittweida, Saxony, Germany
Okay.

One yes
One no
And the rest does not care and hope the thread dies soon?

:wink:

Nitram


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Tue Mar 06, 2012 10:39 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482
I've never used Maven and have no idea what it's for. What will this mean for developers? What will this mean for end-user? Will there still be a "Download full distributable" button? What about linking to LWJGL/TinyLine/IBXM/JOrbis? How will the user go about acquiring all the libraries and linking everything?

The reason I was initially chose Slick (some time ago, whenever Kev started it) was because it looked simple and was easy to get up and running without needing to know anything about source control, Eclipse plugins, or what have you. Since our target audience is generally beginner game developers coming from a Java2D background, whatever changes we make to Slick and its design have to be suitable for this type of audience.


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Tue Mar 06, 2012 11:28 pm 
Offline
Regular

Joined: Sun Oct 30, 2011 4:47 pm
Posts: 184
Location: Mittweida, Saxony, Germany
Oooookay.

Maven is basically a building and dependency management.

Instead of the build.xml you write a pom.xml that describes the layout of the application. So the name, the version, the authors, some weblinks and all the dependencies. When packaging a application using Maven, it downloads all the required dependencies from maven repositories (the largest one is the maven2-repository). The maven integration into IDEs works very good with Eclipse and IntelliJ IDEA, no idea about Netbeans. The IDEs creates the project files based on the default maven layout and automatically downloads and links the required libraries (along with the source and the javadoc). So you don't have to take care for anything there.

For game developers nothing changes. As its now you got your slick-x.jar you can link in your application or in case your application uses maven as well you can use the maven artifacts as well.

As summery:
What this thread proposes is the change the Slick development to base on maven. This effects ONLY the development of Slick itself not the development of games using Slick. This part just stays the same.

Nitram


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Tue Mar 06, 2012 11:30 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1482
Sure, I'm in favour then.


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 8:07 am 
Offline
Game Developer
User avatar

Joined: Thu Mar 03, 2011 6:22 pm
Posts: 534
But please consider the amount of extra work we need to do. For us it's not that hard to hit the build.xml to make a jar right? Why inventing the wheel a new when we already have everything working?
Imho we should concentrate on making the library better and not compicating the process of making it work for us...

But well if everybody want's to add it, I can't to anything against :D Damn Democracy!

_________________
Current Projects:


Projects:
- Build on top of Slick2D, Ideas, Bugs? Open an Issue ticket!


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 9:28 am 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1340
Location: Italy
if maven could save time for slick developer (in particular for transitive dependencies), is okay.
time to get a poll for it?

another idea is have two branch of slick: one old style and one maven?
Maven branch could have more only pom.xml, and same source code of old style branch? Maybe automatically sincronized?

_________________
| Last game


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 10:27 am 
Offline
Regular

Joined: Sun Oct 30, 2011 4:47 pm
Posts: 184
Location: Mittweida, Saxony, Germany
Synchronizing branches never ends well :D

The main problem that kills the idea of having the current layout and a maven layout standing side by side is the requirement to change the location of the source/resource/test-files in order for maven to work properly.

Surely we can create the maven layout in a seperated branch in order to give everyone a chance to take a look at it. In the end how ever we have to descide for one method. Dragging along both won't end well.

Nitram


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 10:35 am 
Offline
Game Developer
User avatar

Joined: Thu Mar 03, 2011 6:22 pm
Posts: 534
You want to complete shange the packaging? Maven can't work with any given form? Now I'm even more against it xD

_________________
Current Projects:


Projects:
- Build on top of Slick2D, Ideas, Bugs? Open an Issue ticket!


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 11:28 am 
Offline
Regular

Joined: Sun Oct 30, 2011 4:47 pm
Posts: 184
Location: Mittweida, Saxony, Germany


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 8:50 pm 
Offline
Game Developer

Joined: Sun Nov 12, 2006 11:18 pm
Posts: 890
Location: Germany
I don't think it's a good idea at the moment.

Reasons:
1. Slick only has one dependency (LWJGL and it's related jars), Slick-AE maybe libGDX and LWJGL.
2. All we need for the build process is in the build.xml and working fine.
3. Devs are still not comfortable with Mercurial/bitbucket and Maven requires a directory tree revamping.
4. We have to make sure that all dependent libs are in some remote Maven repository or in the master remote Maven-2 repository. Is that the case?
5. Every developer machine gets bloated with a local Maven repository.
6. Every IDE also supports build.xml files.

Honestly I don't see the benefits.

_________________
|
| |


Top
 Profile  
 
 Post subject: Re: [IDEA] Maven 2
PostPosted: Wed Mar 07, 2012 9:33 pm 
Offline
Regular

Joined: Sun Oct 30, 2011 4:47 pm
Posts: 184
Location: Mittweida, Saxony, Germany


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page 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