Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsBuilding Events Module 04.00.01 RC1Building Events Module 04.00.01 RC1
Previous
 
Next
New Post
6/12/2008 9:59 AM
 

As a relative newcomer to DNN and the Events module, I'm having a few problems setting up a buildable project from Events_04.00.01_Source.zip (from the dnnevents site)

1. I note that there is a Resources.zip nested within the main zip-file. Why was this included as a separate zip-file and where in the build-tree should these additional files be unzipped to (e.g. the module root directory or a particular subdirectory)? When do you need / not need the additional files in Resources.zip? (presumably if you always need them there would not have been any need to make a separate zip file??).

2. Some files in the main zip-file seem to have been placed in the wrong subdirectory - e.g. 03.01.00.SqlDataProvider, etc, have been placed in the project root directory in the main zip-file but seem to need manually moving to Providers\DataProviders\SqlDataProvider after unzipping the build tree in order to satisfy the DotNetNuke.Events.SqlDataProvider project which otherwise reports broken file links when loaded into Visual Studio. What's going on here?

3. The DotNetNuke.Events project _Install folder has two files in the project (DnnModule.build.xml and DnnModuleManifest.dnn) which appear as broken links in the project. I suspect these maybe generated files?? Is that why they appear broken, or have i missed something? It's not at all clear (see point 6 below).

4. Is it necessary to use VS2008 to build this project, or is VS2005 sufficient? I saw a note somewhere whilst looking on the dnnevents website that implied that VS2008 was required, but surprisingly in view of this I was able to load the project into VS2005, so I'm a bit confused on this point.

5. Can you build the events module without DNN being present - i.e. does the events module depend on or reference any files that are not in the zip files but are in the main DNN installation? If I try and load the events module solution and build in VS2008 without DNN present, I get loads of errors which look like missing references - does this mean I need DNN core assemblies as well as the files in the zip-file to make it work? An http:\\localhost\DnnEvents website was created in IIS when I tried to open the Events module solution file, but I cant run this site from IE (there are no aspx files or other web-pages in it) and its not clear which additional files I need to install to make it work.

6. I'd like to suggest some easy-to-read release-notes (e.g. a readme.txt) included with the source in the zip-file would make a newcomers life a bit less painful here - how about it? Many of the people attempting to build your code will, like me, not be at all familiar with the way you like to do things and it would be a generous move to include a few pointers for them, IMHO.

 
New Post
6/12/2008 1:09 PM
 

Steve,

I did a blog on how to setup the DNN Events source.  You can find it here.

I did two other blogs.  One is to document the issue with using "Create Module Package" and another for the work around.

There are still room to improve. 

 


Fuji Nguyen
FREE Visitor Hit Counter
Visit opensource.indyneinc.com for detail.
 
New Post
6/12/2008 1:12 PM
 

Steve Taylor wrote

As a relative newcomer to DNN and the Events module, I'm having a few problems setting up a buildable project from Events_04.00.01_Source.zip (from the dnnevents site)

1. I note that there is a Resources.zip nested within the main zip-file. Why was this included as a separate zip-file and where in the build-tree should these additional files be unzipped to (e.g. the module root directory or a particular subdirectory)? When do you need / not need the additional files in Resources.zip? (presumably if you always need them there would not have been any need to make a separate zip file??).

The content outside the Resources.zip is the basic installable module. The Resources file makes up the source. If you want to do code development you need the Resources file. This structure appears to be the standard format for building source code zip files. Note - this is an installable source. Therefore the fact that there are two zip files should be irrelevant to you, since you don't need to do any unzipping. To create a valid directory structure for developing against, just install the source PA in the same way you would install a normal module. It will unzip everything into the right place ready for you to develop against.

2. Some files in the main zip-file seem to have been placed in the wrong subdirectory - e.g. 03.01.00.SqlDataProvider, etc, have been placed in the project root directory in the main zip-file but seem to need manually moving to Providers\DataProviders\SqlDataProvider after unzipping the build tree in order to satisfy the DotNetNuke.Events.SqlDataProvider project which otherwise reports broken file links when loaded into Visual Studio. What's going on here?

If you install the source as described above, everything will be placed in the correct directory. Again, no need to unzip yourself.

3. The DotNetNuke.Events project _Install folder has two files in the project (DnnModule.build.xml and DnnModuleManifest.dnn) which appear as broken links in the project. I suspect these maybe generated files?? Is that why they appear broken, or have i missed something? It's not at all clear (see point 6 below).

Not sure why this is, I'd have to get Ernst Peter to respond, but it shouldn't be big issue to you.

4. Is it necessary to use VS2008 to build this project, or is VS2005 sufficient? I saw a note somewhere whilst looking on the dnnevents website that implied that VS2008 was required, but surprisingly in view of this I was able to load the project into VS2005, so I'm a bit confused on this point.

Yes you need VS2008, this is specifed in the Release Notes. Whilst you may be able to open it in VS2005 (I have to say I haven't tried), I suspect you will have further problems down the road.

5. Can you build the events module without DNN being present - i.e. does the events module depend on or reference any files that are not in the zip files but are in the main DNN installation? If I try and load the events module solution and build in VS2008 without DNN present, I get loads of errors which look like missing references - does this mean I need DNN core assemblies as well as the files in the zip-file to make it work? An http:\\localhost\DnnEvents website was created in IIS when I tried to open the Events module solution file, but I cant run this site from IE (there are no aspx files or other web-pages in it) and its not clear which additional files I need to install to make it work.

Yes you need to be able to reference the core DNN files, this is true of the majority of modules I would expect, since the modules use many features of the core framework (security, display, time, etc, etc). Logically you will also need the core to be able to test, so this shouldn't be an issue, you only need the install version of DNN, not the source.

6. I'd like to suggest some easy-to-read release-notes (e.g. a readme.txt) included with the source in the zip-file would make a newcomers life a bit less painful here - how about it? Many of the people attempting to build your code will, like me, not be at all familiar with the way you like to do things and it would be a generous move to include a few pointers for them, IMHO.

The Events module uses the same development procedures/structures as all core DNN modules, so it isn't neccesarily appropriate for this team to develop a guide in isolation to the other modules. Michael Washington creates some excellent guides to module development on his site - http://www.adefwebserver.com/DotNetNukeHELP/. Also I believe there are books available on this subject, including one (I forget the name) based on the Events module (though an older version of the module). So hopefully there should be enough material out there to guide you.

Hope this helps.

Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
6/12/2008 4:19 PM
 

3. The DotNetNuke.Events project _Install folder has two files in the project (DnnModule.build.xml and DnnModuleManifest.dnn) which appear as broken links in the project. I suspect these maybe generated files?? Is that why they appear broken, or have i missed something? It's not at all clear (see point 6 below).

I use nAnt to generate the Install package automatically. nAnt uses an my instruction file (.xml) and a base structure for the .dnn manifest, which nAnt will automatically complete during the package build.

I have included my VS2008 solution file in the source pack, but forgot to remove the links to these build files. Just remove the broken link and you're ready.


XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 7.0.1 - Released
Reports 6.1.0 - Released
 
New Post
6/13/2008 5:15 AM
 

Fuji,

Many thanks - your blog looks excellent, will go through it carefully.

One general problem is that there is often help of this sort somewhere on the web, but its scattered around and can be hard to find unless you are in the know. Sometimes my Googling comes up trumps, sometimes you miss something useful. How about maybe collecting useful links together and putting them on a page on the events module site, perhaps?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsBuilding Events Module 04.00.01 RC1Building Events Module 04.00.01 RC1


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out