The SVN, nightly builds and biweekly betas
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: The SVN, nightly builds and biweekly betas
by Chris H. » 15 Aug 2011, 21:14
`jendave wrote:I was able to replicate the problem from Eclipse. When I created a new Maven Run config and set the JRE and Env Variables per the screenshots above, I got the build to work.
From your log file you are getting an error when passing the password. Try adding this to your ~/.m2/settings.xml fileThat would go between
- Code: Select all
<server>
<id>cardforge-snapshot-repo</id>
<username>releases@cardforge.org</username>
<password>thepassword</password>
</server>tag
- Code: Select all
<servers></servers>
Ugh, my settings file has
- Code: Select all
<server>
<id>forge-ftp-repository</id>
<username>releases@cardforge.org</username>
So, let me try this 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: The SVN, nightly builds and biweekly betas
by jendave » 15 Aug 2011, 21:17
You should have a section likeChris H. wrote:Ugh, my settings file has`
- Code: Select all
<server>
<id>forge-ftp-repository</id>
<username>releases@cardforge.org</username>
So, let me try this again.
- Code: Select all
<servers>
<server>
<id>cardforge-snapshot-repo</id>
<username>releases@cardforge.org</username>
<password>thepassword</password>
</server>
</servers>
Re: The SVN, nightly builds and biweekly betas
by Chris H. » 15 Aug 2011, 21:26
Thank you Dave, the line with the
was the problem. I corrected that line and the other two lines are correct. I am in the process of running my next test.
- Code: Select all
forge-ftp-repository
was the problem. I corrected that line and the other two lines are correct. I am in the process of running my next test.
-

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: The SVN, nightly builds and biweekly betas
by jendave » 15 Aug 2011, 21:33
Cool. I also changed the name of the release repo. It is now -Chris H. wrote:Thank you Dave, the line with the`
- Code: Select all
forge-ftp-repository
was the problem. I corrected that line and the other two lines are correct. I am in the process of running my next test.
- Code: Select all
<server>
<id>cardforge-repo</id>
<username>releases@cardforge.org</username>
<password>thePassword</password>
</server>
Re: The SVN, nightly builds and biweekly betas
by Chris H. » 15 Aug 2011, 22:22
I tried another test using the run config in Eclipse and got a Maven java heap space error. I guess that I can try to figure out a little later.
With the settings file mod I decided to re-try the command file approach one more time. This time I get a
With the settings file mod I decided to re-try the command file approach one more time. This time I get a
- Code: Select all
Error uploading site: Password not specified for repository cardforge-site
- Attachments
-
Term log 2.txt.zip- (29.68 KiB) Downloaded 502 times
-

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: The SVN, nightly builds and biweekly betas
by jendave » 15 Aug 2011, 22:39
To setting.xml addChris H. wrote:I tried another test using the run config in Eclipse and got a Maven java heap space error. I guess that I can try to figure out a little later.
With the settings file mod I decided to re-try the command file approach one more time. This time I get a`
- Code: Select all
Error uploading site: Password not specified for repository cardforge-site
- Code: Select all
<server>
<id>cardforge-site</id>
<username>releases@cardforge.org</username>
<password>thePassword</password>
</server>
cardforge-site
cardforge-snapshot-repo
cardforge-repo
That will cover everything.
Re: The SVN, nightly builds and biweekly betas
by Chris H. » 15 Aug 2011, 22:57
Oh, I think that I understand now.jendave wrote:To setting.xml addIn your settings file, you should have username/password entries for:
- Code: Select all
<server>
<id>cardforge-site</id>
<username>releases@cardforge.org</username>
<password>thePassword</password>
</server>
cardforge-site
cardforge-snapshot-repo
cardforge-repo
That will cover everything.
I will make sure that the setting file has 3 copies with each one having a different id.
-

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: The SVN, nightly builds and biweekly betas
by Chris H. » 16 Aug 2011, 12:36
Dave, I sent you a pm with my goal, settings file and the console log with the latest error. I suspect that my settings file might be the problem and I want you to take a quick look at it to see if you find anything wrong with it.
-

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: The SVN, nightly builds and biweekly betas
by jendave » 16 Aug 2011, 15:02
Thanks. Strange error. I sent a PM back.Chris H. wrote:Dave, I sent you a pm with my goal, settings file and the console log with the latest error. I suspect that my settings file might be the problem and I want you to take a quick look at it to see if you find anything wrong with it.
Re: The SVN, nightly builds and biweekly betas
by Chris H. » 16 Aug 2011, 16:16
I right clicked on the pom.xml file and tried a Team -> Update to Head and ran the Maven goal ... got that same strange error:
If the problem is not in the settings file then where else could the path be broken? I am not sure what I should check for next.
- Code: Select all
Could not transfer artifact forge:forge:jar:1.1.2-20110816.000412-1 from/to cardforge-snapshot-repo (ftp.cardforge.org/snapshots): Required directory: 'napshots' is missing -> [Help 1]
If the problem is not in the settings file then where else could the path be broken? I am not sure what I should check for next.
-

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: The SVN, nightly builds and biweekly betas
by Chris H. » 16 Aug 2011, 16:20
One more thing to try.
Right click on the project and select Maven -> Update Depedancies... -> and check the box which states Force Update of Snapshots/Releases.
I feel like I am grasping at straws.
Right click on the project and select Maven -> Update Depedancies... -> and check the box which states Force Update of Snapshots/Releases.
I feel like I am grasping at straws.
-

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: The SVN, nightly builds and biweekly betas
by jendave » 16 Aug 2011, 17:27
I know that you tend not to use the command line much, but if you could give it a try and see what happens. This would rule out if it is a Maven problem or an Eclipse/Maven problem. That would be a big help.Chris H. wrote:One more thing to try.
Right click on the project and select Maven -> Update Depedancies... -> and check the box which states Force Update of Snapshots/Releases.
I feel like I am grasping at straws.
Also, check your pom.xml file and make sure it is the latest and without edits.
What is the command you are executing from Eclipse?
Dave
Re: The SVN, nightly builds and biweekly betas
by Huggybaby » 16 Aug 2011, 19:04
Looks like a typo:
Shouldn't that be "snapshots"?Required directory: 'napshots' is missing ->
-

Huggybaby - Administrator
- Posts: 3230
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 756 times
- Been thanked: 601 times
Re: The SVN, nightly builds and biweekly betas
by jendave » 16 Aug 2011, 19:07
Yes. What we are trying to figure out is where is the typo?Huggybaby wrote:Looks like a typo:Shouldn't that be "snapshots"?Required directory: 'napshots' is missing ->
Re: The SVN, nightly builds and biweekly betas
by Chris H. » 16 Aug 2011, 19:09
Hmmm, The Maven goal when used in Eclipse gives me that strange missing dir error.
So, like Dave suggested, I entered the same exact Maven goal as part of a shell script and it looks like it is now sending data to cardforge. The last portion of the text displayed in the terminal log:
So, it looks like the problem is in Eclipse.
If I am correct, there should now be two archives at cardforge that were built and transferred from my local copy. The archives on my end are named:
forge-1.1.2-SNAPSHOT-osx.tar.bz2
forge-1.1.2-SNAPSHOT.tar.bz2
Does anyone have any idea what the url in front of the 2 archives would be?
OH, Dave, I sent the goal to you via a pm as it contains the password.
So, like Dave suggested, I entered the same exact Maven goal as part of a shell script and it looks like it is now sending data to cardforge. The last portion of the text displayed in the terminal log:
- Code: Select all
Reply received: 227 Entering Passive Mode (74,55,207,114,103,126)
Command sent: STOR team-list.html
Reply received: 150 Accepted data connection
Reply received: 226-File successfully transferred
226 0.251 seconds (measured here), 28.45 Kbytes per second
completed = /Users/chrish/Workspace_SVN/ForgeSVN/target/site/team-list.html
Command sent: CDUP
Reply received: 250 OK. Current directory is /
completed = /Users/chrish/Workspace_SVN/ForgeSVN/target/site
ftp.cardforge.org/site/ - Session: Disconnecting
ftp.cardforge.org/site/ - Session: Disconnected
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27:42.889s
[INFO] Finished at: Tue Aug 16 15:03:10 EDT 2011
[INFO] Final Memory: 58M/344M
[INFO] ------------------------------------------------------------------------
logout
[Process completed]
So, it looks like the problem is in Eclipse.
If I am correct, there should now be two archives at cardforge that were built and transferred from my local copy. The archives on my end are named:
forge-1.1.2-SNAPSHOT-osx.tar.bz2
forge-1.1.2-SNAPSHOT.tar.bz2
Does anyone have any idea what the url in front of the 2 archives would be?
OH, Dave, I sent the goal to you via a pm as it contains the password.
-

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: No registered users and 38 guests