utcompling / applied-nlp

Course repository for Applied Natural Language Processing
124 stars 53 forks source link

About Authentication #7

Closed treadstone90 closed 11 years ago

treadstone90 commented 11 years ago

In the code , System.getProperty() is used to get the value of the properties . But we have set the OAuth parameters as an environment variable.System.getProperty() gave me errors so I tried System.getenv() , and that worked. So i'm wondering if it should be System.getenv() ? Or did I miss some step where the Java properties are set ??

Karthik

jasonbaldridge commented 11 years ago

The Java properties are set in the bin/tshrdlu script. Perhaps you aren't running things with the script?

treadstone90 commented 11 years ago

Well , I did try with the script initially and it didn't work . So I just went through the whole thing again , and now its alright .