Re: How to get started?
Which OS's are supported by IntelliJ IDEA? We have people using Windows, Mac OS and various *nix OS's.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=1093
Class files on classpath not found or not accessible for: 'ForgeSVN/src/forge/ComputerAI_Burn.java'`Jaedayr wrote:I just tried to export a JAR using Eclipse and got the following, along with a bunch of compiler warnings.Is this the only thing causing it to fail? Or do all the other 'Exported with compile warnings:' also need to be addressed?
- Code: Select all
Class files on classpath not found or not accessible for: 'ForgeSVN/src/forge/ComputerAI_Burn.java'

<<<<<<< .mine
Name:Cultbrand Cinder
ManaCost:4 BR
Types:Creature Elemental Shaman
Text:no text
PT:3/3
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ When CARDNAME enters the battlefield, put a -1/-1 counter on target creature.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ M1M1 | CounterNum$ 1 | IsCurse$ True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/cultbrand_cinder.jpg
SetInfo:SHM|Common|http://magiccards.info/scans/en/shm/182.jpg
End=======
Name:Cultbrand Cinder
ManaCost:4 BR
Types:Creature Elemental Shaman
Text:no text
PT:3/3
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ When CARDNAME enters the battlefield, put a -1/-1 counter on target creature.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ M1M1 | CounterNum$ 1 | IsCurse$ True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/cultbrand_cinder.jpg
SetInfo:SHM|Common|http://magiccards.info/scans/en/shm/182.jpg
End>>>>>>> .r6475Your commit is using another path than the other commits:Masher8 wrote:I made my first code commit today and it appeared to work, but when I browse the svn through my web browser or in eclipse it's still the old version.
The changes should be to computerUtil_Attack2.java. In my local file listing it now has a version number next to it, 6524, and the date and time of the commit. Is it there for anyone else?
Thanks Sloth, I see it. Any idea what I can do about it? I can't see an obvious way to bring what I have into alignment.Sloth wrote:Your commit is using another path than the other commits:
Yours: /forge/src/forge/ComputerUtil_Attack2.java
Normal: /src/src/forge/ComputerUtil_Attack2.java
More than happy to lend a hand, and learn a bit in the process. The AI has handed my backside to me in short order on a number of occassions with the modifications so hopefully people will find it a bit more challenging. There's plenty of room for further improvement of course.Chris H. wrote:It looks like your last series of commits modified the ComputerUtil_Attack2.java file rather than adding a second copy elsewhere. At a quick glane I think that eveything will be OK. Thanks for the help.
http://subclipse.tigris.org/update_1.6.x (for Subclipse)
http://beust.com/eclipse (for TestNG)
Here's the guide that I used. Worked well:Agetian wrote:Umm I noticed that Forge was switched to a git repo, I've been away from coding for a while but now that I'm planning to make a comeback, I'm desperately looking for some info on how to switch to git but I can't find it... do we have a post in here somewhere that describes how to make a switch from SVN to git when using Eclipse? Currently I'm running Eclipse+Subclipse for SVN, I'm not sure if Eclipse can be automated to sync with the git repo instead... and by the way, what's the address of the git repository? Thanks a lot in advance!