1. 1. [page 2.1] Unzip bugs.zip and create a directory called "bugs", copy the war file to it and then unpack the war file (ie from the command line: jar -xvf bugs.war) [الصفحة 2.1] بفك bugs.zip وإنشاء دليل يسمى "البق" ، نسخة من ملف الحرب لأنها وبعد ذلك فك الملف الحرب (أي من سطر الأوامر : جرة bugs.war - xvf) 2. 2. [page 2.3] Open /bugs/WEB-INF/classes. [الصفحة 2.3] فتح / البق / الأنترنت - الوقود النووي المشع / الطبقات. If you are outside the United States, copy all files that are "_en_US" and change the copies to your language and country. إذا كنت خارج الولايات المتحدة ، ونسخ جميع الملفات التي يتم "_en_US" وتغيير نسخا منها على لغتك والبلد. You will edit your files, not the _en_US files in the following steps. سوف تحرير الملفات الخاصة بك ، وليس ملفات _en_US في الخطوات التالية. 3. 3. [page 2.3] From the classes directory, edit db_en_US.properties and change the following properties (a property is a name followed by an equal sign, eg name=; you will change what is on the RIGHT side of the equal sign). [الصفحة 2.3] من الدليل الطبقات ، وعدل db_en_US.properties وتغيير الخصائص التالية (أ الملكية هو اسم متبوعة بعلامة المساواة ، على سبيل المثال اسم = ؛ سوف تغيير ما هو موجود على الجانب الأيمن من علامة المساواة). All property files are heavily commented so read them if you have a question about a property. جميع الملفات الممتلكات بشكل كبير وعلق حتى قراءتها إذا كان لديك سؤال حول الممتلكات. a. أ. uncomment the name of the database you are using حرر اسم قاعدة البيانات الذي تستخدمه
b. ب. set the username and password properties (Oracle testing only) تعيين اسم المستخدم وكلمة السر خصائص (أوراكل اختبار فقط)
c. c. uncomment the url which corresponds to the database in (a) and change everything in brackets to match your database. حرر عنوان الموقع الذي يتوافق مع قاعدة البيانات في (أ) وتغير كل شيء في المباراة بين قوسين الى قاعدة البيانات الخاصة بك.
d. د. save and close حفظ وإغلاق
4. 4. [page 2.7] From the classes directory, edit dashboard_en_US.properties and change the following: [الصفحة 2.7] من الدليل الطبقات ، وعدل dashboard_en_US.properties وتغيير ما يلي :
a. أ. defaultProduct defaultProduct
b. ب. defaultAssignee (optional) defaultAssignee (اختياري)
c. c. default priorities (ie P1 - P5) أولويات الافتراضية (أي P1 -- P5)
d. د. uncomment the appropriate bugURL and set it to your system حرر bugURL المناسب وضعه على النظام الخاص بك
e. e. save and close حفظ وإغلاق
5. 5. [page 2.10] From the classes directory, edit sql_queries_en_US.properties and change the following: [الصفحة 2.10] من الدليل الطبقات ، وعدل sql_queries_en_US.properties وتغيير ما يلي :
a. أ. version الإصدار
b. ب. loginName loginName
c. c. save and close حفظ وإغلاق
6. 6. [page 2.13] From the classes directory, edit strings_en_US.properties and set the title to your organization then save it. [الصفحة 2.13] من الدليل الطبقات ، وعدل strings_en_US.properties وتعيين عنوان لمنظمتكم ثم احفظه.
7. 7. [page 2.17] From the classes directory, edit portals_en_US.properties and change the following: [الصفحة 2.17] من الدليل الطبقات ، وعدل portals_en_US.properties وتغيير ما يلي :
a. أ. portal0.name portal0.name b. ب. portal0.restrictTo portal0.restrictTo c. c. If you are setting up an Enterprise edition, change the following: إذا كنت تقوم بإعداد طبعة المؤسسة ، تغيير ما يلي : i. أنا. portal1.name portal1.name
ii. ثانيا. portal1.restrictTo portal1.restrictTo
d. د. save and close حفظ وإغلاق
8. 8. [page 2.24] If you are setting up an Enterprise edition, from the classes directory, edit the projectA_portlets_en_US.properties through projectF_portlets_en_US.properties files validating the names and restrictTo values in each. [الصفحة 2.24] إذا كنت تقوم بإعداد طبعة المؤسسة ، من الدليل الطبقات ، وتحرير projectA_portlets_en_US.properties خلال projectF_portlets_en_US.properties ملفات التحقق من الأسماء والقيم restrictTo في كل منهما.
For example, in projectD_portlets_en_US.properties, you will want to change the following for both portlet groups: على سبيل المثال ، في projectD_portlets_en_US.properties ، هل تريد تغيير التالية لكلا الفريقين المدخل :
a. أ. title العنوان
b. ب. restrictTo restrictTo
c. c. save and close حفظ وإغلاق
You will then want to open the projectF_portlets_en_US.properties file and change the following: وعندها يمكنك تريد فتح ملف projectF_portlets_en_US.properties وتغيير ما يلي :
a. أ. title for every portlet العنوان لكل مدخل
b. ب. restrictTo for every portlet (use global replace) restrictTo لكل مدخل (استخدام عالمية تحل محل)
9. 9. If you plan on using the إذا كنت تخطط لاستخدام SVNLog portlet SVNLog المدخل to query your Subversion repository, from the classes directory, edit svnLog_en_US.properties and change the following: الاستعلام الخاص بك مستودعا التخريب ، من الدليل الطبقات ، وعدل svnLog_en_US.properties وتغيير ما يلي :
a. أ. all titles كل العناوين
b. ب. all paths جميع المسارات
c. c. save and close حفظ وإغلاق
10. 10. If you plan on using the إذا كنت تخطط لاستخدام Links portlet روابط المدخل , from the classes directory, edit the links_en_US.properties and change the following: ، من الدليل الطبقات ، وتحرير links_en_US.properties وتغيير ما يلي :
a. أ. change all names تغيير أسماء جميع
b. ب. change all urls تغيير كل عناوين المواقع
c. c. save and close حفظ وإغلاق
11. 11. [page 2.30] Move the bugs directory you created in step 1 to the /webapps directory and restart Tomcat (or the application via Tomcat Manager). [الصفحة 2.30] تحريك الدليل البق قمت بإنشائه في الخطوة 1 ل/ webapps الدليل وإعادة القط (أو التطبيق عبر القط مدير).
TROUBLESHOOTING استشكشاف
1) The View Priorities page is blank 1) وعرض أولويات صفحة فارغة
Look at dashboard_en_US.properties and be sure you have uncommented and set one of the two bugURL property lines. نظرة على dashboard_en_US.properties وتأكد من أنك قمت بمسودات وتعيين واحد من اثنين من خطوط الملكية bugURL.
2) Only one or two portlets show values on a page 2) واحد فقط أو اثنين المداخل إظهار القيم على صفحة
Edit the appropriate portlets property file (eg projectA_portets_en_US.properties) and look at the group characteristics for the first portlet to fail (it will be the next in line after the last to load correctly). عدل المداخل المناسبة للملكية ملف (projectA_portets_en_US.properties على سبيل المثال) ، وإلقاء نظرة على الخصائص المجموعة الاولى لمدخل إلى فشل (انها ستكون التالية في خط بعد آخر للتحميل بشكل صحيح). You may have missed a property or inadvertently deleted a property. كنت قد اخطأت في الممتلكات أو سقطت سهوا في الممتلكات.
3) All pages, including the About page, are blank. 3) جميع الصفحات ، بما في ذلك حول صفحة ، هي فارغة.
Edit the db_en_US.properties file and verify the database property at the top and ALL of the components of the proper url string (eg for mysql, the dbname, username, etc.). تحرير db_en_US.properties الملف والتحقق من ملكية قاعدة البيانات في الجزء العلوي وكافة مكونات السلسلة عنوان مناسب (على سبيل المثال لماي ، وdbname ، المستخدم ، الخ).
4) If all else fails, stop Tomcat and edit the log4j.properties file in the /bugs/WEB-INF directory. 4) إذا فشل كل شيء آخر ، ووقف القط وتحرير log4j.properties الملف في البق / / الأنترنت - الوقود النووي المشع الدليل.
a) Change the first line from "fatal" to "debug" أ) تغيير السطر الأول من "قاتلة" الى "تصحيح" b) Change the path on line 6 to an existing directory. ب) تغيير المسار على خط 6 إلى دليل موجود. For example, our Ubuntu installation of Tomcat was under /opt/apache-tomcat-6.0.16. على سبيل المثال ، لدينا أوبونتو تركيب القط كان تحت / opt/apache-tomcat-6.0.16. Thus, our path to the logs file is /opt/apache-tomcat-6.0.16/logs/bugs.log. وبالتالي ، فإن المسار إلى ملف سجلات هو / opt/apache-tomcat-6.0.16/logs/bugs.log. c) save and close the file ج) حفظ وإغلاق الملف d) restart Tomcat د) إعادة القط e) try any page ه) أي محاولة الصفحة f) open the bugs.log in the logs directory and scroll to the bottom. و) فتح bugs.log في الدليل سجلات والتمرير إلى أسفل. Read back up the file until you see an error reported. قراءة نسخة احتياطية من الملفات حتى تشاهد خطأ ذكرت. If it's something simple like "Can't find resouce for bundle" followed by "key bugURL" then you must edit that property (ie it wasn't uncommented). اذا كان شيء بسيط مثل "لا يمكن العثور resouce لحزمة" تليها "مفتاح bugURL" ثم يجب عليك تحرير تلك الممتلكات (أي أنه لم يكن بمسودات). g) if you are unable to determine the error or how to fix it, ز) إذا كنت غير قادر على تحديد الخطأ أو كيفية إصلاحه ، contact us اتصل بنا immediately at support@bugsdashboard.com على الفور في support@bugsdashboard.com