BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  Installation pr...  Users always treated as Admin and other problems
Previous Previous
 
Next Next
New Post 4/27/2006 4:08 PM
User is offline paul
6 posts
No Ranking


Users always treated as Admin and other problems 
I just installed BugNet.  Seems great with a lot of potential. 

I had a few problems getting it running, heres what I did:

nant full

Builds it with the AUTODEBUG preprocessor directive which then treats every user as Admin.  Not sure what this is for, but its really confusing and doesn't seem to be documented anywhere.  Seems like a bad default value to me.

I updated this line to build in Release mode in BugNet.build

    <property name="project.config" value="Release" /> <!-- debug|release|AutomatedDebug -->

And after that the nunit tests failed:

------------
run-unit-tests:

    [mkdir] Creating directory 'C:\Documents and Settings\
TestUser\My Documen
ts\Downloads\BugNET-0.66\build\test-reports'.

BUILD FAILED

C:\Documents and Settings\TestUser\My Documents\Downloads\BugNET-0.66\BugNet.
build(77,4):
'C:\Documents and Settings\
TestUser\My Documents\Downloads\BugNET-0.66\tools\
nunit\nunit-console.exe' failed to start.
    The directory name is invalid

-----------

So then I decided to try just skipping the tests by changing:

<target name="full" depends="clean, test, dist, installdb, deploy" description="Compiles, tests, and produces distributions" />

to (just removed the dependency on the test target):

<target name="full" depends="clean, dist, installdb, deploy" description="Compiles and produces distributions" />


And then it seemed to build and run fine.
 
New Post 4/27/2006 4:56 PM
User is offline admin
606 posts
bugnetproject.com
1st Level Poster




Re: Users always treated as Admin and other problems 
Modified By admin  on 4/27/2006 5:17:45 PM)
Hi Paul,

Thanks for your post.

I did not notice till now that I had released the package with the AutomatedDebug compiler flag set.   I will fix this and update the package on sourceforge.

The current installation is a big weak point of the project as you can see from the posts here.  Within a few days and with the help of proejct member Rachit, I will be releasing a updated web installation that should make things alot easier to install the app.

That is fine that the unit tests have failed.  Recent efforts have broken the tests and they should not be run until updated.

These issues will be cleaned up shortly.

Edit:
The package comes with a precompiled version of the application in the dist folder.  Copying this to your virtual directory should work better than the nant install at this point.

Davin Dubeau
BugNET - Core Developer

 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Users always treated as Admin and other problems

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.