Eclipse and Maven
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
23 posts
• Page 2 of 2 • 1, 2
Re: Eclipse and Maven
by jendave » 25 Jul 2011, 18:24
Nevermind. I found the mantisconnect jar and uploaded to the Arcane remote repo. I also added it to the Maven pom.xml file. Let me know once you add code that uses it. If there are any problems, let me know.jendave wrote:
Please send me the jars. Most of the ones that Forge depends on are on in a standard Maven repo (http://mvnrepository.com), but the ones that were not (jyield), I put into a repo I maintain at http://arcane.googlecode.com/svn/trunk/repository. Since my repo is already a part of the current Forge Maven build, all we have to do is add your mantis jars and we should be good.
Dave
Re: Eclipse and Maven
by Rob Cashwalker » 25 Jul 2011, 20:44
I had just sent it to you before reading this. The library I'm expecting to use also requires a number of others, so they may need to be worked in as well.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Eclipse and Maven
by Rob Cashwalker » 28 Jul 2011, 04:43
Nevermind... I spent a while trying to execute the mantis library, expecting errors to point me to which libraries it really needed, and I did my best trying out different matches from the Maven-based versions until I got no errors and a successful bug report. Working on actual implementation and GUI now.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Eclipse and Maven
by jendave » 04 Aug 2011, 14:21
I have reorganized the root project directory to make it more Maven friendly. Please do a 'git pull' and 'refresh' the project in Eclipse. You will see that all the main source code is under src/main/java and the test code is under /src/test/java.
Re: Eclipse and Maven
by Braids » 04 Aug 2011, 22:10
holy Flux!jendave wrote:I have reorganized the root project directory to make it more Maven friendly. Please do a 'git pull' and 'refresh' the project in Eclipse. You will see that all the main source code is under src/main/java and the test code is under /src/test/java.
this is a test . . . of my EGit skills. i see right through you, Dave.



"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: Eclipse and Maven
by Rob Cashwalker » 05 Aug 2011, 01:57
I now have three nodes with code in them: src/main/java, src/test/java and src. src has conflicts, compared to my local copy, the differences are in the Bug Reporting update I pushed last night. Looks like I have to delete and re-pull again...
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Eclipse and Maven
by Braids » 05 Aug 2011, 02:03
that should be OK. does src have any java files in it? it shouldn't.Rob Cashwalker wrote:I now have three nodes with code in them: src/main/java, src/test/java and src. src has conflicts, compared to my local copy, the differences are in the Bug Reporting update I pushed last night. Looks like I have to delete and re-pull again...
edit: you should be able to move your code from the src folder into the corresponding package within the {src/main/java} folder.
edit 2: the only thing i learned this evening about EGit is that sometimes, if pulling fails, and merging fails, push still might work just fine. sounds dangerous, but it actually was smart enough in a particular case where i had done too many hard resets.
edit 3: oh, and that anything involving EGit and "synchronization" is either a wretched hive of scum and villainy or more powerful than i could possibly imagine. i'm leaning toward the former.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: Eclipse and Maven
by Rob Cashwalker » 05 Aug 2011, 02:32
yeah, no actual code, just the two files I had last modified.
I moved them over, did an add, then did a commit, only to find that it thought ALL the files had been changed.
So, yeah, seems like the smartest thing is to dump and run...
I moved them over, did an add, then did a commit, only to find that it thought ALL the files had been changed.
So, yeah, seems like the smartest thing is to dump and run...
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
23 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 41 guests