Re: [zekr] Re: Source Code shows errors (missing some files)

2012-11-10 Thread Irfan Haider
Salaam,

We use SVN in our office for version control and will be soon move to Git 
or Mercurial.
The version control should be updated as soon as things are changed.
This is because if something wrong happen (machine dead, files deleted etc) 
the files from CVS or SVN can be restored.

For RC-n or Gold or Silver (Releases) we usually use Tag or Label, you can 
use those too.
When releasing create a tag, label and name it release version.

Regards,

On Friday, November 9, 2012 7:53:05 PM UTC+5, Mohsen Saboorian wrote:

 Salaam,

 Good RD :)

 Our current src folder on CVS is unfortunately incomplete because 
 contributed resource manager is still incomplete, and not ready to be 
 committed to the version control. But to resolve those compilation issues, 
 it's provided in zekr-src.jar which is bundled with all Zekr packages from 
 zekr.org. So the best way to setup a working Zekr with complete source 
 code is:

 1. Download one a Zekr package from our download page.
 2. Create a java project in your IDE.
 3. Add all .jar files from Zekr Installation/Unzipped folder/lib to your 
 project
 4. Unzip Zekr Installation/Unzipped folder/src/zekr-src.jar into your 
 project source folder.
 5. Run ZekrMain.java

 Regars,
 Mohsen



-- 
You received this message because you are subscribed to the Google Groups 
zekr group.
To post to this group, send email to zekr@googlegroups.com.
To unsubscribe from this group, send email to zekr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/zekr/-/NxlozoGvsY0J.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [zekr] Re: Source Code shows errors (missing some files)

2012-11-09 Thread Mohsen Saboorian
Salaam,

Good RD :)

Our current src folder on CVS is unfortunately incomplete because
contributed resource manager is still incomplete, and not ready to be
committed to the version control. But to resolve those compilation issues,
it's provided in zekr-src.jar which is bundled with all Zekr packages from
zekr.org. So the best way to setup a working Zekr with complete source code
is:

1. Download one a Zekr package from our download page.
2. Create a java project in your IDE.
3. Add all .jar files from Zekr Installation/Unzipped folder/lib to your
project
4. Unzip Zekr Installation/Unzipped folder/src/zekr-src.jar into your
project source folder.
5. Run ZekrMain.java

Regars,
Mohsen

On Wed, Nov 7, 2012 at 3:38 PM, Irfan Haider myi...@gmail.com wrote:

 After some RD i was able to solve all of my errors.
 If you are going to checkout from CVS the please follow this to resolve
 errors.


1. Stage One (creating new project)
   1. Open eclipse or myeclipse
   2. click new then project then select CVS project
   3. complete the process to import the code
   4. wait till build is complete (it shows some errors, ignore them
   for now)
   5. Now leave it open
2. Stage Two (downloading and extracting zekr portable)
   1. Download Zekr for Windows Protable (or for linux protable)
   2. Extract it and goto Dist folder
   3. Extract zekr-src.jar with winrar
  1. Wait till all files extracted
   3. Stage Three (replacing files)
   1. I assume the you have extracted zekr-src.jar to
   C:\zekr\zekr-src\ folder
   2. Open two windows or linux file explorers
  1. First Window: open the zekr-src folder
  2. Second Window: open eclipse or myeclipse workspace and then
  zekr (or the project name in which you have checkout the zekr code)
   3. Copy Lib
  1. Open first window file manager
  2. goto to lib folder (C:\zekr\zekr-src\lib)
  3. copy the following libs
 1. swt.jar
 2. vorbisspi-1.0.3.jar
 3. jlayer-1.0.1.jar
 4. basicplayer-3.0.jar
 5. jiintellitype-1.3.8.jar
  4. Paste Lib
  1. Open second window file manager
  2. goto zekr project in workspace
 1. example: Workspaces\MyEclipse Bling Edition 10\Zekr\lib
  3. Paste the copied libs here
 1. swt.jar
 2. vorbisspi-1.0.3.jar
 3. jlayer-1.0.1.jar
 4. basicplayer-3.0.jar
 5. jiintellitype-1.3.8.jar
  4. Overwrite any if asked
  5. Come into eclipse or myeclipse and right click on zekr
  project and click on refresh
 1. Error will now decrease, if no follow below
 2. Right click on zekr project and click properties
 3. click on java build path
 4. click on libraries
 5. click Add jars
 6. type the *.jar in search text box
 7. expend all of the folders till you see *.jars
 8. select the following
1. swt.jar
2. vorbisspi-1.0.3.jar
3. jlayer-1.0.1.jar
4. basicplayer-3.0.jar
5. jiintellitype-1.3.8.jar
 9. click on it and then click on ok
 10. again click on ok to close properties popup
 11. wait till build complete
 12. Lib copy part DONE
  5. Copy Files
  1. Copy: addonmgr missing files
  1. Open first file manager (zekr-src folder)
 2. goto \zekr-src\net\sf\zekr\engine and copy the addonmgr
 folder
  2. Paste: addonmgr missing files
 1. Open the second file manager (eclipse workspace)
 2. goto Workspaces\MyEclipse Bling Edition
 10\Zekr\src\net\sf\zekr\engine
 3. paste the folder and overwrite all files
  4. Stage Four (deleting @override)
   1. Open problem pan in eclipse or myeclipse
  1. click on Window and then Show view and select Problems
  2. OR user Ctrl+Alt+Q
  3. OR click on Window and then Show view and select Other...
 1. Type problem and select it and click OK
  4. Problem pan will open
   2. Now click on each error, it will open file and point directly to
   the line
   3. Move your cursor and select the fix remove @override
   (Myeclipse only, dont know as if eclipse provide it or not)
  1. Remove all of the @override with this method
   4. If auto fix is not available the on the error line find
   @override and delete it
   5. Save the file and errors will start resolving

 All errors will now gone
 Hope fully this will help for someone

 *To Zekr staff*
 Please add the missing files and update the jars with new one

 Thanks for such a great software.

 On Wednesday, November 7, 2012 4:10:20 PM UTC+5, Irfan Haider wrote:

 Salaam,

 I have 

Re: [zekr] Re: Source Code shows errors (missing some files)

2012-11-08 Thread Irfan Haider
Walikum Aslaam,

I would like to first understand the Zekr and then might add some features.
I have also download QuranCode (source) but i didnt view it yet.

However i would like to commit my changes in Zekr project source.
For that i need permission.

OR

I can commit the code tobitbucket.org (git) and then Zekr staff can sync it 
to original repo.

Regards,

On Thursday, November 8, 2012 9:36:19 AM UTC+5, purep...@yahoo.com wrote:

 Salam brother and thank you :) 

 Are you planning to add any new features? 

 Please look at QuranCode.com and see if you can port any feature to Zekr. 
 QuranCode is written in C# so it is only runs on Windows. In sha Allah 
 next magor version will use Mono and Grid computing if Allah wills. 

 Try out the Tooltip word-by-word info and see if we can help brother 
 Mohsen add it to Zekr. 
 If you need any help understanding the data files (transliteration, 
 word-by-word meaning, wordpart-by-wordpart grammar) I would be very happy 
 to help the best offline Quran software on the net. 

 Salam 

 Ali 


 - Original Message - 
 From: Irfan Haider myi...@gmail.com javascript: 
 To: ze...@googlegroups.com javascript: 
 Cc: Ali Adams purep...@yahoo.com javascript: 
 Sent: Wednesday, November 7, 2012 10:23:29 PM 
 Subject: Re: [zekr] Re: Source Code shows errors (missing some files) 

 Salaam, 


 I have resolve the errors but now i am stuck at project building phase :), 
 I cannot get it run like simple JAVA app. 
 When dig some deep into problem i found that there are some other things 
 that also need to be installed like java wrapper (found in ant build file). 
 Well now i am fighting with this new build thing. 


 Zekr have poor documentation for developers. 
 If you need my help please let me know. 


 Note: When build issue is fixed i will post its instructions too ^_^ 


 Regards, 


-- 
You received this message because you are subscribed to the Google Groups 
zekr group.
To post to this group, send email to zekr@googlegroups.com.
To unsubscribe from this group, send email to zekr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/zekr/-/1GsIm7RXaegJ.
For more options, visit https://groups.google.com/groups/opt_out.




[zekr] Re: Source Code shows errors (missing some files)

2012-11-07 Thread Irfan Haider
After some RD i was able to solve all of my errors.
If you are going to checkout from CVS the please follow this to resolve 
errors.


   1. Stage One (creating new project)
  1. Open eclipse or myeclipse
  2. click new then project then select CVS project
  3. complete the process to import the code
  4. wait till build is complete (it shows some errors, ignore them for 
  now)
  5. Now leave it open
   2. Stage Two (downloading and extracting zekr portable)
  1. Download Zekr for Windows Protable (or for linux protable)
  2. Extract it and goto Dist folder
  3. Extract zekr-src.jar with winrar
 1. Wait till all files extracted
  3. Stage Three (replacing files)
  1. I assume the you have extracted zekr-src.jar to C:\zekr\zekr-src\ 
  folder
  2. Open two windows or linux file explorers
 1. First Window: open the zekr-src folder
 2. Second Window: open eclipse or myeclipse workspace and then 
 zekr (or the project name in which you have checkout the zekr code)
  3. Copy Lib
 1. Open first window file manager
 2. goto to lib folder (C:\zekr\zekr-src\lib)
 3. copy the following libs
1. swt.jar
2. vorbisspi-1.0.3.jar
3. jlayer-1.0.1.jar
4. basicplayer-3.0.jar
5. jiintellitype-1.3.8.jar
 4. Paste Lib
 1. Open second window file manager
 2. goto zekr project in workspace 
1. example: Workspaces\MyEclipse Bling Edition 10\Zekr\lib
 3. Paste the copied libs here
1. swt.jar
2. vorbisspi-1.0.3.jar
3. jlayer-1.0.1.jar
4. basicplayer-3.0.jar
5. jiintellitype-1.3.8.jar
 4. Overwrite any if asked
 5. Come into eclipse or myeclipse and right click on zekr project 
 and click on refresh
1. Error will now decrease, if no follow below
2. Right click on zekr project and click properties
3. click on java build path
4. click on libraries
5. click Add jars
6. type the *.jar in search text box
7. expend all of the folders till you see *.jars
8. select the following
   1. swt.jar
   2. vorbisspi-1.0.3.jar
   3. jlayer-1.0.1.jar
   4. basicplayer-3.0.jar
   5. jiintellitype-1.3.8.jar
9. click on it and then click on ok
10. again click on ok to close properties popup
11. wait till build complete 
12. Lib copy part DONE
 5. Copy Files
 1. Copy: addonmgr missing files
 1. Open first file manager (zekr-src folder)
2. goto \zekr-src\net\sf\zekr\engine and copy the addonmgr 
folder
 2. Paste: addonmgr missing files
1. Open the second file manager (eclipse workspace)
2. goto Workspaces\MyEclipse Bling Edition 
10\Zekr\src\net\sf\zekr\engine
3. paste the folder and overwrite all files
 4. Stage Four (deleting @override)
  1. Open problem pan in eclipse or myeclipse
 1. click on Window and then Show view and select Problems
 2. OR user Ctrl+Alt+Q
 3. OR click on Window and then Show view and select Other...
1. Type problem and select it and click OK
 4. Problem pan will open
  2. Now click on each error, it will open file and point directly to 
  the line
  3. Move your cursor and select the fix remove @override (Myeclipse 
  only, dont know as if eclipse provide it or not)
 1. Remove all of the @override with this method
  4. If auto fix is not available the on the error line find @override 
  and delete it
  5. Save the file and errors will start resolving
   
All errors will now gone 
Hope fully this will help for someone

*To Zekr staff*
Please add the missing files and update the jars with new one

Thanks for such a great software.

On Wednesday, November 7, 2012 4:10:20 PM UTC+5, Irfan Haider wrote:

 Salaam,

 I have checkout code from CVS into MyEclipse IDE.
 After building (the normal process) there are about 98 errors.
 Some of the errors are missing some files and thus showing more errors.
 Example: Not found
 import net.sf.zekr.engine.addonmgr.CandidateResource;
 import net.sf.zekr.engine.addonmgr.Resource;
 import net.sf.zekr.engine.addonmgr.ResourceManager;

 I have unzip the zekr-src.java and found that all of the missing files are 
 there. 
 Am i missing something when checking out from sourceforge

 Please guide me


-- 
You received this message because you are subscribed to the Google Groups 
zekr group.
To post to this group, send email to zekr@googlegroups.com.
To unsubscribe from this group, send email to zekr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Re: [zekr] Re: Source Code shows errors (missing some files)

2012-11-07 Thread Ali Adams
Thank you brother Irfan for this very organized instructions :)

I will save it for future ref in sha Allah.

Salam

Ali Adams
God  infinity
Prime numbers are God's signature!
www.qurancode.com


- Original Message -
From: Irfan Haider myi...@gmail.com
To: zekr@googlegroups.com
Sent: Wednesday, November 7, 2012 7:08:40 AM
Subject: [zekr] Re: Source Code shows errors (missing some files)

After some RD i was able to solve all of my errors. 
If you are going to checkout from CVS the please follow this to resolve errors. 




1. Stage One (creating new project) 


1. Open eclipse or myeclipse 
2. click new then project then select CVS project 
3. complete the process to import the code 
4. wait till build is complete (it shows some errors, ignore them for 
now) 
5. Now leave it open 
2. 
Stage Two (downloading and extracting zekr portable) 


1. Download Zekr for Windows Protable (or for linux protable) 
2. Extract it and goto Dist folder 
3. Extract zekr-src.jar with winrar 


1. Wait till all files extracted 
3. 
Stage Three (replacing files) 


1. I assume the you have extracted zekr-src.jar to C:\zekr\zekr-src\ 
folder 
2. Open two windows or linux file explorers 


1. First Window: open the zekr-src folder 
2. Second Window: open eclipse or myeclipse workspace and then zekr 
(or the project name in which you have checkout the zekr code) 
3. 
Copy Lib 


1. Open first window file manager 
2. goto to lib folder ( C:\zekr\zekr-src\lib) 
3. copy the following libs 


1. swt.jar 
2. vorbisspi-1.0.3.jar 
3. jlayer-1.0.1.jar 
4. basicplayer-3.0.jar 
5. jiintellitype-1.3.8.jar 
4. 
Paste Lib 


1. Open second window file manager 
2. goto zekr project in workspace 


1. example: Workspaces\MyEclipse Bling Edition 10\Zekr\lib 
3. 
Paste the copied libs here 


1. swt.jar 
2. vorbisspi-1.0.3.jar 
3. jlayer-1.0.1.jar 
4. basicplayer-3.0.jar 
5. jiintellitype-1.3.8.jar 
4. 
Overwrite any if asked 
5. Come into eclipse or myeclipse and right click on zekr project 
and click on refresh 


1. Error will now decrease, if no follow below 
2. Right click on zekr project and click properties 
3. click on java build path 
4. click on libraries 
5. click Add jars 
6. type the * .jar in search text box 
7. expend all of the folders till you see *.jars 
8. select the following 


1. swt.jar 
2. vorbisspi-1.0.3.jar 
3. jlayer-1.0.1.jar 
4. basicplayer-3.0.jar 
5. jiintellitype-1.3.8.jar 
9. 
click on it and then click on ok 
10. again click on ok to close properties popup 
11. wait till build complete 
12. Lib copy part DONE 
5. 
Copy Files 


1. Copy: addonmgr missing files 


1. Open first file manager (zekr-src folder) 
2. goto \zekr-src\net\sf\zekr\engine and copy the addonmgr 
folder 
2. 
Paste: addonmgr missing files 


1. Open the second file manager (eclipse workspace) 
2. goto Workspaces\MyEclipse Bling Edition 
10\Zekr\src\net\sf\zekr\engine 
3. paste the folder and overwrite all files 
4. 
Stage Four (deleting @override) 


1. Open problem pan in eclipse or myeclipse 


1. click on Window and then Show view and select Problems 
2. OR user Ctrl+Alt+Q 
3. OR click on Window and then Show view and select Other... 


1. Type problem and select it and click OK 
4. 
Problem pan will open 
2. 
Now click on each error, it will open file and point directly to the line 
3. Move your cursor and select the fix remove @override (Myeclipse 
only, dont know as if eclipse provide it or not) 


1. Remove all of the @override with this method 
4. 
If auto fix is not available the on the error line find @override and delete it 
5. Save the file and errors will start resolving 


All errors will now gone 
Hope fully this will help for someone 


To Zekr staff 
Please add the missing files and update the jars with new one 


Thanks for such a great software. 
On Wednesday, November 7, 2012 4:10:20 PM UTC+5, Irfan Haider wrote: 

Salaam, 


I have checkout code from CVS into MyEclipse IDE. 
After building (the normal process) there are about 98 errors. 
Some of the errors are missing some files and thus