SVN Build, Do It Yourself
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: SVN Build, Do It Yourself
by Corwin72 » 01 Jul 2011, 13:17
When running forge after build 10249 I get the error:
- | Open
- forge/ReadCard
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_22 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NoClassDefFoundError: forge/ReadCard
at forge.card.cardFactory.CardFactory.readCards(Unknown Source)
at forge.card.cardFactory.CardFactory.<init>(Unknown Source)
at forge.AllZone.<clinit>(Unknown Source)
at forge.Gui_NewGame$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: forge.ReadCard
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: SVN Build, Do It Yourself
by Sloth » 01 Jul 2011, 13:25
You're not the only one: viewtopic.php?f=52&t=4915Corwin72 wrote:When running forge after build 10249 I get the error:
- | Open
- forge/ReadCard
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_22 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NoClassDefFoundError: forge/ReadCard
at forge.card.cardFactory.CardFactory.readCards(Unknown Source)
at forge.card.cardFactory.CardFactory.<init>(Unknown Source)
at forge.AllZone.<clinit>(Unknown Source)
at forge.Gui_NewGame$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: forge.ReadCard
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: SVN Build, Do It Yourself
by Chris H. » 01 Jul 2011, 14:09
I edited the "manifest.forge" file and with luck this is what Snacko's Scripts need. Change made to rev 10253.
Corwin and Sloth, can you try the script once again?
Corwin and Sloth, can you try the script once again?
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN Build, Do It Yourself
by Corwin72 » 01 Jul 2011, 14:35
Same Error
- | Open
- An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
forge/ReadCard
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_22 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NoClassDefFoundError: forge/ReadCard
at forge.card.cardFactory.CardFactory.readCards(Unknown Source)
at forge.card.cardFactory.CardFactory.<init>(Unknown Source)
at forge.AllZone.<clinit>(Unknown Source)
at forge.Gui_NewGame$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: forge.ReadCard
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: SVN Build, Do It Yourself
by Sloth » 01 Jul 2011, 14:39
Compiling works, but drafting still brings up an error and starting a new quest does not respond.Chris H. wrote:I edited the "manifest.forge" file and with luck this is what Snacko's Scripts need. Change made to rev 10253.
Corwin and Sloth, can you try the script once again?
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: SVN Build, Do It Yourself
by Chris H. » 01 Jul 2011, 14:42
`Corwin72 wrote:Same Error
- | Open
- An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
forge/ReadCard
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_22 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NoClassDefFoundError: forge/ReadCard
at forge.card.cardFactory.CardFactory.readCards(Unknown Source)
at forge.card.cardFactory.CardFactory.<init>(Unknown Source)
at forge.AllZone.<clinit>(Unknown Source)
at forge.Gui_NewGame$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: forge.ReadCard
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more
Sorry about that, gave it my best.
I still think that it has something to do with the new lib jar that was added. Someone with more experience than myself may be able to fix my effort and make it work.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN Build, Do It Yourself
by Chris H. » 01 Jul 2011, 14:48
I started a local project with the code from r10253 in Eclipse. Built and exported the jar.
I am able to start a new quest OK. I started up a booster draft and it also looks OK.
Try the other edited script that I posted in the other topic.
Re: Problems with updating the SVN
I am able to start a new quest OK. I started up a booster draft and it also looks OK.
Try the other edited script that I posted in the other topic.
Re: Problems with updating the SVN
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN Build, Do It Yourself
by Chris H. » 05 Jul 2011, 12:21
UnderFlow wrote:I took the batch files, merged them and made the output a bit prettier.
This is the result: http://dl.dropbox.com/u/5988273/build-forge.bat
The target path is designated by the first command line parameter (it has to be in double quotes). (if you don't know how to set it: http://vgstrategies.about.com/od/faq/a/CommandLineP.htm)
You still need the rest of the files from the OP.
Edit:
I created a package containing everything needed: http://dl.dropbox.com/u/5988273/forge-build.zip
It also contains a file called "run.bat" that runs "build-forge.bat" in a way that makes it create the forge directory as a sibling to the build directory.
Suggestions for additional features are welcome.
Update:
The first version contained a bug which caused it to copy directories to the wrong place. I apologize for any trouble that this has caused. Please redownload the file.
In addition to the bugfix, the updated version contains some minor tweaks.
Update 1.1:
- "display_new_layout.xml" does not get copied anymore.
- Added comments on how to customize the output (open and modify the file with a text editor).
- Modified header text.
Update 1.2:
- Added "forge-svn\res\lib\java-yield-1.0-SNAPSHOT-jar-with-dependencies.jar" to the java command.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN Build, Do It Yourself
by goonjamin » 07 Jul 2011, 00:44
Hi, I am trying to use the script to compile r10442 but am having some issues (I think due to the new dependencies added today).
At first I was receiving a different error about swing so I tried adding the new files I saw in the lib folder to the script (the 3 below). Now when I try to run forge using the exe I receive the error below.
Added these to the script (does it matter where in the java line these are added, I just stuck them at the end after the last one that was there?)
At first I was receiving a different error about swing so I tried adding the new files I saw in the lib folder to the script (the 3 below). Now when I try to run forge using the exe I receive the error below.
Added these to the script (does it matter where in the java line these are added, I just stuck them at the end after the last one that was there?)
- Code: Select all
forge-svn\res\lib\minlog-1.2.jar;
forge-svn\res\lib\swingx-1.6.1.jar;
forge-svn\res\lib\testng-6.0.1.jar;
- Code: Select all
An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
com/esotericsoftware/minlog/Log
Version:
Forge -- official beta: $Date: 2011-07-02 00:20:39 -0400 (Sat, 02 Jul 2011) $, SVN revision: $Revision: 10300 $
OS: Windows 7 Version: 6.1 Architecture: x86
Java Version: 1.6.0_26 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NoClassDefFoundError: com/esotericsoftware/minlog/Log
at forge.error.ExceptionHandler.registerErrorHandling(Unknown Source)
at forge.Gui_NewGame.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.esotericsoftware.minlog.Log
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
Re: SVN Build, Do It Yourself
by UnderFlow » 07 Jul 2011, 11:35
The classpath of the manifest has not been updated yet.
Here's an updated version; can someone upload it to the svn please?
http://dl.dropbox.com/u/5988273/manifest.forge
Here's an updated version; can someone upload it to the svn please?
http://dl.dropbox.com/u/5988273/manifest.forge
- EDIT: has been uploaded | Open
- In the meantime, if you are using my script, you can download the manifest above and put it into forge-build\build. Then change the line
copy forge-svn\build\manifest.forge output\META-INF\MANIFEST.MF /Y
to
copy build\manifest.forge output\META-INF\MANIFEST.MF /Y
to use the local copy. (revert this change once the new manifest is on the svn)
Last edited by UnderFlow on 07 Jul 2011, 12:10, edited 2 times in total.
Re: SVN Build, Do It Yourself
by Chris H. » 07 Jul 2011, 11:51
`UnderFlow wrote:The classpath of the manifest has not been updated yet.
Here's an updated version; can someone upload it to the svn please?
http://dl.dropbox.com/u/5988273/manifest.forge
In the meantime, if you are using my script, you can download the manifest above and put it into forge-build\build. Then change the line
copy forge-svn\build\manifest.forge output\META-INF\MANIFEST.MF /Y
to
copy build\manifest.forge output\META-INF\MANIFEST.MF /Y
to use the local copy. (revert this change once the new manifest is on the svn)
Thank you UnderFlow.
I downloaded your edited manifest file and will merge it into the SVN as soon as I can. Currently the SVN is not allowing me to do a sync, I have to be patient.

RA layer request failed
svn: Server sent unexpected return value (502 Bad Gateway) in response to OPTIONS request for 'https://cardforge.googlecode.com/svn/src'
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN Build, Do It Yourself
by Chris H. » 07 Jul 2011, 12:02
`Chris H. wrote: downloaded your edited manifest file and will merge it into the SVN as soon as I can.
Rev 10453 has the corrected manifest file.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN Build, Do It Yourself
by UnderFlow » 07 Jul 2011, 12:15
Build script updated with the new jars (version 1.3):
Batch file only:
http://dl.dropbox.com/u/5988273/build-forge.bat
Complete package:
http://dl.dropbox.com/u/5988273/forge-build.zip
Batch file only:
http://dl.dropbox.com/u/5988273/build-forge.bat
Complete package:
http://dl.dropbox.com/u/5988273/forge-build.zip
Re: SVN Build, Do It Yourself
by Chris H. » 07 Jul 2011, 12:53
`UnderFlow wrote:Build script updated with the new jars (version 1.3):
Batch file only:
http://dl.dropbox.com/u/5988273/build-forge.bat
Complete package:
http://dl.dropbox.com/u/5988273/forge-build.zip
Thank you UnderFlow.
I added this info to the first message in this topic.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Who is online
Users browsing this forum: horseoftroy and 63 guests