My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
LibrarySetup  
Setting up the Popforge library.
Featured, Phase-Implementation
Updated Feb 4, 2010 by joaebert

Introduction

This manual will guide you through the process of setting up the Popforge library project. In this example we will use FlexBuilder 3 but theoretically all of our projects can be compiled using the command line.

Requirements

If you do not have Subversive installed make sure to look at the installation instructions.

Creating the Popforge library project

Follow these steps to create a library project in FlexBuilder:

  • Go to File > New and select Flex Library Project
  • Name the project "PopforgeLibrary"
  • Click Next
  • Enter "src" as the Main source folder
  • Click Finish

Sharing the project

By following these instructions your library project will be connected to our code repository at Google Code.

  • Locate your Popforge project in the Navigator
  • Right click and select Team > Share Project...
  • Choose SVN as the repository type
  • Click Next
  • Select Create a new repository location
  • Click Next
  • Enter "http://popforge.googlecode.com/svn/" in the URL textbox
  • Click Next
  • Select Use specified name in the Name on Repository group
  • Enter "flash/PopforgeLibrary" in the textbox
  • Click Next
  • Uncheck Launch the Commit Dialog for the shared resources
  • Click Finish
  • Click Yes if a warning message pops up

Now Subversive should download the PopforgeLibrary project into your workspace.

Selecting the classes to include

When the download process is finished you have to specify the classes that should be included in the library.

  • Locate your Popforge project in the Navigator
  • Right click and select Properties
  • Go to Flex Library Build Path
  • Check the "src" folder in the Classes tab
  • Click Ok

It is important to remember this step. After each update you should make sure to include all classes to the library. They are not added automatically.

Now to make sure everything is working check the "bin" directory of the PopforgeLibrary project. If you see a "PopforgeLibrary.swc" file there you are ready to go.

Comment by atomicjeep, Jul 27, 2007

The google code url should start with https and you should mention you'll need a google code login/password to get access too.

Comment by project member joaebert, Aug 5, 2007

Only if you want to edit the source code afaik. This means you would have to be added to the project. If you use http you can get the latest version but you will not be able to commit. Or is that wrong?

Comment by keithsal...@gmail.com, Aug 7, 2007

No thats correct, the only time you need https access to the svn is if you want/need/have privileges to commit.

Comment by casci...@gmail.com, Sep 6, 2007

using FB2 on a mac, subversive asks for user name and password, strange as I am not using https link. any ideas?

Comment by ilikeali...@gmail.com, Oct 19, 2007

i'm having the same problem as casciato.... FB2 on mac asks for username / pass

Comment by casci...@gmail.com, Oct 21, 2007

Hey, ilike, the best thing to do is download the 9.27.07 build and use that as to build the library. I also had to move de folder one level back, on the same level as src, and use that as the main source folder. But it worked!

Comment by d4w...@gmail.com, Dec 21, 2007

Hi all! Casciato... so you couldn't find a way to have automatic upgrades on mac, right? the manual setup works fine, but will it be ok to just overwrite the 'popforge' folder manually in order to upgrade? have you tried it?

thnx!

Comment by casci...@gmail.com, Feb 10, 2008

Hello d4weed,

Haven't completely overwritten a working FB project, nope.

I have however checked out the newest version and got it working on FB3 beta 3 with the Flex 3 SDK. But I haven't tried setting up svn in FB3 (cuz git is gonna take over the world, right ;) and there hasn't been much development on the popforge (nudge nudge Andre and Joa).

Comment by casci...@gmail.com, Feb 17, 2008

Dudes and dudettes, my first popforge project!

www.pandakar.com/blog

Comment by yvi...@gmail.com, Feb 28, 2008

does this work with flash3 too?

Comment by vincentp...@gmail.com, Jul 24, 2008

Is it possible to use Flex exclusively as a complier and not even bother with Eclipse? I downloaded the trunk, so I feel like I could locally include the src path of the downloaded trunk. This is my first excursion into Flex, so I don't know really why one needs to use Flex as a server for popforge. Any help would be awesome.

Comment by nil...@gmail.com, Sep 22, 2008

Would I be able to use this library to load and play an external wav file?


Sign in to add a comment
Powered by Google Project Hosting